<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>spdif: Overview</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">spdif
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__spdif.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Overview</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spdif___config.html">XSpdif_Config</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains configuration information for the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a>.  <a href="struct_x_spdif___config.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spdif.html">XSpdif</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> driver instance data.  <a href="struct_x_spdif.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gae87580b959a0579a9af0c02345037704"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gae87580b959a0579a9af0c02345037704">XSPDIF_SOFT_RESET_REGISTER_VALUE</a>&#160;&#160;&#160;0X0A</td></tr>
<tr class="memdesc:gae87580b959a0579a9af0c02345037704"><td class="mdescLeft">&#160;</td><td class="mdescRight">Soft Reset Register value to reset.  <a href="#gae87580b959a0579a9af0c02345037704">More...</a><br/></td></tr>
<tr class="separator:gae87580b959a0579a9af0c02345037704"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab9e50bd11dea15481ab6f1c7d89083a8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gab9e50bd11dea15481ab6f1c7d89083a8">XSPDIF_CLK_4</a>&#160;&#160;&#160;4</td></tr>
<tr class="memdesc:gab9e50bd11dea15481ab6f1c7d89083a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clock divide by 4.  <a href="#gab9e50bd11dea15481ab6f1c7d89083a8">More...</a><br/></td></tr>
<tr class="separator:gab9e50bd11dea15481ab6f1c7d89083a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae02f06715593696d6dd15f3a2428bfac"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gae02f06715593696d6dd15f3a2428bfac">XSPDIF_CLK_8</a>&#160;&#160;&#160;8</td></tr>
<tr class="memdesc:gae02f06715593696d6dd15f3a2428bfac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clock divide by 8.  <a href="#gae02f06715593696d6dd15f3a2428bfac">More...</a><br/></td></tr>
<tr class="separator:gae02f06715593696d6dd15f3a2428bfac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8f58bf3843cffb58c16ba3c37b6f1a43"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga8f58bf3843cffb58c16ba3c37b6f1a43">XSPDIF_CLK_16</a>&#160;&#160;&#160;16</td></tr>
<tr class="memdesc:ga8f58bf3843cffb58c16ba3c37b6f1a43"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clock divide by 16.  <a href="#ga8f58bf3843cffb58c16ba3c37b6f1a43">More...</a><br/></td></tr>
<tr class="separator:ga8f58bf3843cffb58c16ba3c37b6f1a43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacc90df3f63b69ba547aef9449439bdeb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gacc90df3f63b69ba547aef9449439bdeb">XSPDIF_CLK_24</a>&#160;&#160;&#160;24</td></tr>
<tr class="memdesc:gacc90df3f63b69ba547aef9449439bdeb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clock divide by 24.  <a href="#gacc90df3f63b69ba547aef9449439bdeb">More...</a><br/></td></tr>
<tr class="separator:gacc90df3f63b69ba547aef9449439bdeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga76f09af6af8a8a42a954d4f3c3b4ead1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga76f09af6af8a8a42a954d4f3c3b4ead1">XSPDIF_CLK_32</a>&#160;&#160;&#160;32</td></tr>
<tr class="memdesc:ga76f09af6af8a8a42a954d4f3c3b4ead1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clock divide by 32.  <a href="#ga76f09af6af8a8a42a954d4f3c3b4ead1">More...</a><br/></td></tr>
<tr class="separator:ga76f09af6af8a8a42a954d4f3c3b4ead1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2b1a583d97411e32ac6d37a13c749d0b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga2b1a583d97411e32ac6d37a13c749d0b">XSPDIF_CLK_48</a>&#160;&#160;&#160;48</td></tr>
<tr class="memdesc:ga2b1a583d97411e32ac6d37a13c749d0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clock divide by 48.  <a href="#ga2b1a583d97411e32ac6d37a13c749d0b">More...</a><br/></td></tr>
<tr class="separator:ga2b1a583d97411e32ac6d37a13c749d0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4c885709bc23885156fa806853159a42"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga4c885709bc23885156fa806853159a42">XSPDIF_CLK_64</a>&#160;&#160;&#160;64</td></tr>
<tr class="memdesc:ga4c885709bc23885156fa806853159a42"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clock divide by 64.  <a href="#ga4c885709bc23885156fa806853159a42">More...</a><br/></td></tr>
<tr class="separator:ga4c885709bc23885156fa806853159a42"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga89f9c5e6c1465be8b05d5658df31ab66"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga89f9c5e6c1465be8b05d5658df31ab66">XSpdif_Callback</a> )(void *CallbackRef)</td></tr>
<tr class="memdesc:ga89f9c5e6c1465be8b05d5658df31ab66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback function data type for handling interrupt requests from the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> peripheral.  <a href="#ga89f9c5e6c1465be8b05d5658df31ab66">More...</a><br/></td></tr>
<tr class="separator:ga89f9c5e6c1465be8b05d5658df31ab66"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga0fd1a9a8dba71df82291f9d0307366a3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga0fd1a9a8dba71df82291f9d0307366a3">XSpdif_CfgInitialize</a> (<a class="el" href="struct_x_spdif.html">XSpdif</a> *InstancePtr, <a class="el" href="struct_x_spdif___config.html">XSpdif_Config</a> *CfgPtr, UINTPTR EffectiveAddr)</td></tr>
<tr class="memdesc:ga0fd1a9a8dba71df82291f9d0307366a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a>.  <a href="#ga0fd1a9a8dba71df82291f9d0307366a3">More...</a><br/></td></tr>
<tr class="separator:ga0fd1a9a8dba71df82291f9d0307366a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1c7b903ef4c7052aa0f3b11350946594"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga1c7b903ef4c7052aa0f3b11350946594">XSpdif_Enable</a> (<a class="el" href="struct_x_spdif.html">XSpdif</a> *InstancePtr, u8 Enable)</td></tr>
<tr class="memdesc:ga1c7b903ef4c7052aa0f3b11350946594"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables/disables the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a>.  <a href="#ga1c7b903ef4c7052aa0f3b11350946594">More...</a><br/></td></tr>
<tr class="separator:ga1c7b903ef4c7052aa0f3b11350946594"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae803b59eab34cf53ffcfb147b367f88f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gae803b59eab34cf53ffcfb147b367f88f">XSpdif_SoftReset</a> (<a class="el" href="struct_x_spdif.html">XSpdif</a> *InstancePtr)</td></tr>
<tr class="memdesc:gae803b59eab34cf53ffcfb147b367f88f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is used to soft reset the interrupt registers.  <a href="#gae803b59eab34cf53ffcfb147b367f88f">More...</a><br/></td></tr>
<tr class="separator:gae803b59eab34cf53ffcfb147b367f88f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabe3f017617a1beda897955974c20fc9d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gabe3f017617a1beda897955974c20fc9d">XSpdif_ResetFifo</a> (<a class="el" href="struct_x_spdif.html">XSpdif</a> *InstancePtr)</td></tr>
<tr class="memdesc:gabe3f017617a1beda897955974c20fc9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets the Fifo.  <a href="#gabe3f017617a1beda897955974c20fc9d">More...</a><br/></td></tr>
<tr class="separator:gabe3f017617a1beda897955974c20fc9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga663de6a5b3129b9af53363b95ddd1c8c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga663de6a5b3129b9af53363b95ddd1c8c">XSpdif_SetClkConfig</a> (<a class="el" href="struct_x_spdif.html">XSpdif</a> *InstancePtr, u8 Clk_DivNum)</td></tr>
<tr class="memdesc:ga663de6a5b3129b9af53363b95ddd1c8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the clock configuration bits.  <a href="#ga663de6a5b3129b9af53363b95ddd1c8c">More...</a><br/></td></tr>
<tr class="separator:ga663de6a5b3129b9af53363b95ddd1c8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf65b0871fbd61f85bff84b47ab5fc397"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gaf65b0871fbd61f85bff84b47ab5fc397">XSpdif_GetFs</a> (<a class="el" href="struct_x_spdif.html">XSpdif</a> *InstancePtr, u32 AudClk)</td></tr>
<tr class="memdesc:gaf65b0871fbd61f85bff84b47ab5fc397"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function calculates the Sampling Frequency (Fs) and returns it's value.  <a href="#gaf65b0871fbd61f85bff84b47ab5fc397">More...</a><br/></td></tr>
<tr class="separator:gaf65b0871fbd61f85bff84b47ab5fc397"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6cc58a923df8991119d2ae9d894b5225"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga6cc58a923df8991119d2ae9d894b5225">XSpdif_Rx_GetChStat</a> (<a class="el" href="struct_x_spdif.html">XSpdif</a> *InstancePtr, u8 *ChStatBuf)</td></tr>
<tr class="memdesc:ga6cc58a923df8991119d2ae9d894b5225"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads all the Channel Status registers and writes to a buffer.  <a href="#ga6cc58a923df8991119d2ae9d894b5225">More...</a><br/></td></tr>
<tr class="separator:ga6cc58a923df8991119d2ae9d894b5225"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab42041ee833dc5963d3d87f83bb05197"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gab42041ee833dc5963d3d87f83bb05197">XSpdif_Rx_GetChA_UserData</a> (<a class="el" href="struct_x_spdif.html">XSpdif</a> *InstancePtr, u8 *ChA_UserDataBuf)</td></tr>
<tr class="memdesc:gab42041ee833dc5963d3d87f83bb05197"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads the Channel A user data and writes to a buffer.  <a href="#gab42041ee833dc5963d3d87f83bb05197">More...</a><br/></td></tr>
<tr class="separator:gab42041ee833dc5963d3d87f83bb05197"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga838302566560f7a0aeae1f154b2b615f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga838302566560f7a0aeae1f154b2b615f">XSpdif_Rx_GetChB_UserData</a> (<a class="el" href="struct_x_spdif.html">XSpdif</a> *InstancePtr, u8 *ChB_UserDataBuf)</td></tr>
<tr class="memdesc:ga838302566560f7a0aeae1f154b2b615f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads the Channel B user data and writes to a buffer.  <a href="#ga838302566560f7a0aeae1f154b2b615f">More...</a><br/></td></tr>
<tr class="separator:ga838302566560f7a0aeae1f154b2b615f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadd37f55413da6f509988297561746c98"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_spdif___config.html">XSpdif_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gadd37f55413da6f509988297561746c98">XSpdif_LookupConfig</a> (u16 DeviceId)</td></tr>
<tr class="memdesc:gadd37f55413da6f509988297561746c98"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns a reference to an <a class="el" href="struct_x_spdif___config.html" title="This typedef contains configuration information for the XSpdif. ">XSpdif_Config</a> structure based on the core id, <em>DeviceId</em>.  <a href="#gadd37f55413da6f509988297561746c98">More...</a><br/></td></tr>
<tr class="separator:gadd37f55413da6f509988297561746c98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga230c28eb5e576f848368c41213997d0a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga230c28eb5e576f848368c41213997d0a">XSpdif_Initialize</a> (<a class="el" href="struct_x_spdif.html">XSpdif</a> *InstancePtr, u16 DeviceId)</td></tr>
<tr class="memdesc:ga230c28eb5e576f848368c41213997d0a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a specific Xspdif instance such that the driver is ready to use.  <a href="#ga230c28eb5e576f848368c41213997d0a">More...</a><br/></td></tr>
<tr class="separator:ga230c28eb5e576f848368c41213997d0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6174ad5a016d53a99ddd0b41d0f22377"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga6174ad5a016d53a99ddd0b41d0f22377">XSpdif_IntrHandler</a> (void *InstancePtr)</td></tr>
<tr class="memdesc:ga6174ad5a016d53a99ddd0b41d0f22377"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is the interrupt handler for the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> driver.  <a href="#ga6174ad5a016d53a99ddd0b41d0f22377">More...</a><br/></td></tr>
<tr class="separator:ga6174ad5a016d53a99ddd0b41d0f22377"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf97322a55fd92400b0f38a4f846c1d77"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gaf97322a55fd92400b0f38a4f846c1d77">XSpdif_SetHandler</a> (<a class="el" href="struct_x_spdif.html">XSpdif</a> *InstancePtr, <a class="el" href="group__spdif.html#ga940a3713eec742adfc1a3e29c4b15380">XSpdif_HandlerType</a> HandlerType, <a class="el" href="group__spdif.html#ga89f9c5e6c1465be8b05d5658df31ab66">XSpdif_Callback</a> FuncPtr, void *CallbackRef)</td></tr>
<tr class="memdesc:gaf97322a55fd92400b0f38a4f846c1d77"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function installs an asynchronous callback function for the given HandlerType:  <a href="#gaf97322a55fd92400b0f38a4f846c1d77">More...</a><br/></td></tr>
<tr class="separator:gaf97322a55fd92400b0f38a4f846c1d77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa51d2927e959df0556c24e2f85d58d7a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat</a> (u8 Spdif_SrcBuf[24])</td></tr>
<tr class="memdesc:gaa51d2927e959df0556c24e2f85d58d7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads the array i.e.  <a href="#gaa51d2927e959df0556c24e2f85d58d7a">More...</a><br/></td></tr>
<tr class="separator:gaa51d2927e959df0556c24e2f85d58d7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Handler Types</h2></td></tr>
<tr class="memitem:ga940a3713eec742adfc1a3e29c4b15380"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga940a3713eec742adfc1a3e29c4b15380">XSpdif_HandlerType</a> { <br/>
&#160;&#160;<a class="el" href="group__spdif.html#gga940a3713eec742adfc1a3e29c4b15380aa6ea099c732a106ff5a8065575c8d804">XSPDIF_HANDLER_TX_OR_RX_FIFO_FULL</a> = 0, 
<a class="el" href="group__spdif.html#gga940a3713eec742adfc1a3e29c4b15380a1857cc8bbe2625f1fb4cb7bc3235a03a">XSPDIF_HANDLER_TX_OR_RX_FIFO_EMPTY</a>, 
<a class="el" href="group__spdif.html#gga940a3713eec742adfc1a3e29c4b15380a5fa88a88168c2940c70738fef4e98e44">XSPDIF_HANDLER_START_OF_BLOCK</a>, 
<a class="el" href="group__spdif.html#gga940a3713eec742adfc1a3e29c4b15380ae76aadd852b550320abf9c70c11c9edf">XSPDIF_HANDLER_BMC_ERROR</a>, 
<br/>
&#160;&#160;<a class="el" href="group__spdif.html#gga940a3713eec742adfc1a3e29c4b15380a667ba4ab02ca92b8018394b5b83ba071">XSPDIF_HANDLER_PREAMBLE_ERROR</a>, 
<a class="el" href="group__spdif.html#gga940a3713eec742adfc1a3e29c4b15380a6dcf2c3d86bf599fd9d9765924c400d9">XSPDIF_NUM_HANDLERS</a>
<br/>
 }</td></tr>
<tr class="memdesc:ga940a3713eec742adfc1a3e29c4b15380"><td class="mdescLeft">&#160;</td><td class="mdescRight">These constants specify different types of handlers and is used to differentiate interrupt requests from the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> peripheral.  <a href="group__spdif.html#ga940a3713eec742adfc1a3e29c4b15380">More...</a><br/></td></tr>
<tr class="separator:ga940a3713eec742adfc1a3e29c4b15380"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
AES Status and Register Masks and Shifts</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp82b205129a8d9a9b1229ea07f9a767f8"></a>For formats/line protocols check the AES Standard specifications document </p>
</td></tr>
<tr class="memitem:gacd17567243b30f06696ebb08c7b52a68"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gacd17567243b30f06696ebb08c7b52a68">XSPDIF_AES_STS_USE_OF_CH_STS_BLK_SHIFT</a>&#160;&#160;&#160;(0)</td></tr>
<tr class="memdesc:gacd17567243b30f06696ebb08c7b52a68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Use of Channel Status Block bit shift.  <a href="#gacd17567243b30f06696ebb08c7b52a68">More...</a><br/></td></tr>
<tr class="separator:gacd17567243b30f06696ebb08c7b52a68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga037137493b39c8d16d47305e8d612630"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga037137493b39c8d16d47305e8d612630">XSPDIF_AES_STS_USE_OF_CH_STS_BLK_MASK</a>&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#gacd17567243b30f06696ebb08c7b52a68">XSPDIF_AES_STS_USE_OF_CH_STS_BLK_SHIFT</a>)</td></tr>
<tr class="memdesc:ga037137493b39c8d16d47305e8d612630"><td class="mdescLeft">&#160;</td><td class="mdescRight">Use of Channel Status Block mask.  <a href="#ga037137493b39c8d16d47305e8d612630">More...</a><br/></td></tr>
<tr class="separator:ga037137493b39c8d16d47305e8d612630"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga567bced0ad2be4f7a01ddf89b999f915"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga567bced0ad2be4f7a01ddf89b999f915">XSPDIF_AES_STS_LINEAR_PCM_ID_SHIFT</a>&#160;&#160;&#160;(1)</td></tr>
<tr class="memdesc:ga567bced0ad2be4f7a01ddf89b999f915"><td class="mdescLeft">&#160;</td><td class="mdescRight">Linear PCM Identification bit shift.  <a href="#ga567bced0ad2be4f7a01ddf89b999f915">More...</a><br/></td></tr>
<tr class="separator:ga567bced0ad2be4f7a01ddf89b999f915"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9c214675f7ddf66a51bb87f36266b620"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga9c214675f7ddf66a51bb87f36266b620">XSPDIF_AES_STS_LINEAR_PCM_ID_MASK</a>&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#ga567bced0ad2be4f7a01ddf89b999f915">XSPDIF_AES_STS_LINEAR_PCM_ID_SHIFT</a>)</td></tr>
<tr class="memdesc:ga9c214675f7ddf66a51bb87f36266b620"><td class="mdescLeft">&#160;</td><td class="mdescRight">Linear PCM Identification mask.  <a href="#ga9c214675f7ddf66a51bb87f36266b620">More...</a><br/></td></tr>
<tr class="separator:ga9c214675f7ddf66a51bb87f36266b620"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga31d37e948304527fc7f2805c12beaa5d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga31d37e948304527fc7f2805c12beaa5d">XSPDIF_AES_STS_AUDIO_SIG_PRE_EMPH_SHIFT</a>&#160;&#160;&#160;(2)</td></tr>
<tr class="memdesc:ga31d37e948304527fc7f2805c12beaa5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Audio signal pre- emphasis bit shift.  <a href="#ga31d37e948304527fc7f2805c12beaa5d">More...</a><br/></td></tr>
<tr class="separator:ga31d37e948304527fc7f2805c12beaa5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadbb9d31148b71d737e51021aa90986d2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gadbb9d31148b71d737e51021aa90986d2">XSPDIF_AES_STS_AUDIO_SIG_PRE_EMPH_MASK</a>&#160;&#160;&#160;(0x7 &lt;&lt; XSPDIF_AES_STS_AUDIO_SIG_PRE_EMPH_SHIFT)</td></tr>
<tr class="memdesc:gadbb9d31148b71d737e51021aa90986d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Audio signal pre-emphasis mask.  <a href="#gadbb9d31148b71d737e51021aa90986d2">More...</a><br/></td></tr>
<tr class="separator:gadbb9d31148b71d737e51021aa90986d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga326786a673b55daf8b3f68050167481f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga326786a673b55daf8b3f68050167481f">XSPDIF_AES_STS_LOCK_INDICATION_SHIFT</a>&#160;&#160;&#160;(5)</td></tr>
<tr class="memdesc:ga326786a673b55daf8b3f68050167481f"><td class="mdescLeft">&#160;</td><td class="mdescRight">lock indication bit shift  <a href="#ga326786a673b55daf8b3f68050167481f">More...</a><br/></td></tr>
<tr class="separator:ga326786a673b55daf8b3f68050167481f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac73a0ee6d535b3a0e02774b564bae998"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gac73a0ee6d535b3a0e02774b564bae998">XSPDIF_AES_STS_LOCK_INDICATION_MASK</a>&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#ga326786a673b55daf8b3f68050167481f">XSPDIF_AES_STS_LOCK_INDICATION_SHIFT</a>)</td></tr>
<tr class="memdesc:gac73a0ee6d535b3a0e02774b564bae998"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lock indication mask.  <a href="#gac73a0ee6d535b3a0e02774b564bae998">More...</a><br/></td></tr>
<tr class="separator:gac73a0ee6d535b3a0e02774b564bae998"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf8023c98dcc18afc76163ac2a87c0852"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gaf8023c98dcc18afc76163ac2a87c0852">XSPDIF_AES_STS_SAMPLING_FREQ_E_SHIFT</a>&#160;&#160;&#160;(6)</td></tr>
<tr class="memdesc:gaf8023c98dcc18afc76163ac2a87c0852"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sampling Frequency 0 bit shift.  <a href="#gaf8023c98dcc18afc76163ac2a87c0852">More...</a><br/></td></tr>
<tr class="separator:gaf8023c98dcc18afc76163ac2a87c0852"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae3f756a9ed3e54825608b18794f9f151"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gae3f756a9ed3e54825608b18794f9f151">XSPDIF_AES_STS_SAMPLING_FREQ_E_MASK</a>&#160;&#160;&#160;(0x3 &lt;&lt; XSPDIF_AES_STS_SAMPLING_FREQ_E_SHIFT)</td></tr>
<tr class="memdesc:gae3f756a9ed3e54825608b18794f9f151"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sampling Frequency 0 mask.  <a href="#gae3f756a9ed3e54825608b18794f9f151">More...</a><br/></td></tr>
<tr class="separator:gae3f756a9ed3e54825608b18794f9f151"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7336455b5fae364b65e59e559f7567bb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga7336455b5fae364b65e59e559f7567bb">XSPDIF_AES_STS_CH_MODE_SHIFT</a>&#160;&#160;&#160;(0)</td></tr>
<tr class="memdesc:ga7336455b5fae364b65e59e559f7567bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Channel mode bit shift.  <a href="#ga7336455b5fae364b65e59e559f7567bb">More...</a><br/></td></tr>
<tr class="separator:ga7336455b5fae364b65e59e559f7567bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga61d1c6757b6483b6364af7ddbe2e0b92"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga61d1c6757b6483b6364af7ddbe2e0b92">XSPDIF_AES_STS_CH_MODE_MASK</a>&#160;&#160;&#160;(0xF &lt;&lt; XSPDIF_AES_STS_CH_MODE_SHIFT)</td></tr>
<tr class="memdesc:ga61d1c6757b6483b6364af7ddbe2e0b92"><td class="mdescLeft">&#160;</td><td class="mdescRight">Channel mode mask.  <a href="#ga61d1c6757b6483b6364af7ddbe2e0b92">More...</a><br/></td></tr>
<tr class="separator:ga61d1c6757b6483b6364af7ddbe2e0b92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4f8b4daecaa31b4d2c8fa678e12d6fcc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga4f8b4daecaa31b4d2c8fa678e12d6fcc">XSPDIF_AES_STS_USR_BITS_MGMT_SHIFT</a>&#160;&#160;&#160;(4)</td></tr>
<tr class="memdesc:ga4f8b4daecaa31b4d2c8fa678e12d6fcc"><td class="mdescLeft">&#160;</td><td class="mdescRight">User Bits Management bit shift.  <a href="#ga4f8b4daecaa31b4d2c8fa678e12d6fcc">More...</a><br/></td></tr>
<tr class="separator:ga4f8b4daecaa31b4d2c8fa678e12d6fcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0d28b61ccb94c9c1a0ab10a5b4dc1061"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga0d28b61ccb94c9c1a0ab10a5b4dc1061">XSPDIF_AES_STS_USR_BITS_MGMT_MASK</a>&#160;&#160;&#160;(0xF &lt;&lt; XSPDIF_AES_STS_USR_BITS_MGMT_SHIFT)</td></tr>
<tr class="memdesc:ga0d28b61ccb94c9c1a0ab10a5b4dc1061"><td class="mdescLeft">&#160;</td><td class="mdescRight">User Bits Management mask.  <a href="#ga0d28b61ccb94c9c1a0ab10a5b4dc1061">More...</a><br/></td></tr>
<tr class="separator:ga0d28b61ccb94c9c1a0ab10a5b4dc1061"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7a35f428d74dee311f07222151ac580c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga7a35f428d74dee311f07222151ac580c">XSPDIF_AES_STS_USEOF_AUX_SMPL_BITS_SHIFT</a>&#160;&#160;&#160;(0)</td></tr>
<tr class="memdesc:ga7a35f428d74dee311f07222151ac580c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Use of auxiliary sample bits bit shift.  <a href="#ga7a35f428d74dee311f07222151ac580c">More...</a><br/></td></tr>
<tr class="separator:ga7a35f428d74dee311f07222151ac580c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5e74a60c3a3fde81331ee465f97028fc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga5e74a60c3a3fde81331ee465f97028fc">XSPDIF_AES_STS_USEOF_AUX_SMPL_BITS_MASK</a>&#160;&#160;&#160;(0x7 &lt;&lt; XSPDIF_AES_STS_USEOF_AUX_SMPL_BITS_SHIFT)</td></tr>
<tr class="memdesc:ga5e74a60c3a3fde81331ee465f97028fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Use of Auxiliary sample bits mask.  <a href="#ga5e74a60c3a3fde81331ee465f97028fc">More...</a><br/></td></tr>
<tr class="separator:ga5e74a60c3a3fde81331ee465f97028fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf4518316d0057e6222413928d69848e7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gaf4518316d0057e6222413928d69848e7">XSPDIF_AES_STS_SRC_WORD_LENGTH_SHIFT</a>&#160;&#160;&#160;(3)</td></tr>
<tr class="memdesc:gaf4518316d0057e6222413928d69848e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Source word length bit shift.  <a href="#gaf4518316d0057e6222413928d69848e7">More...</a><br/></td></tr>
<tr class="separator:gaf4518316d0057e6222413928d69848e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac20878460c7db74344ed1945dd91a8f2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gac20878460c7db74344ed1945dd91a8f2">XSPDIF_AES_STS_SRC_WORD_LENGTH_MASK</a>&#160;&#160;&#160;(0x7 &lt;&lt; XSPDIF_AES_STS_SRC_WORD_LENGTH_SHIFT)</td></tr>
<tr class="memdesc:gac20878460c7db74344ed1945dd91a8f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Source word length mask.  <a href="#gac20878460c7db74344ed1945dd91a8f2">More...</a><br/></td></tr>
<tr class="separator:gac20878460c7db74344ed1945dd91a8f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacf671c2b22efd7086a6d02720bdb6e1b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gacf671c2b22efd7086a6d02720bdb6e1b">XSPDIF_AES_STS_INDICATE_ALIGN_LEVEL_SHIFT</a>&#160;&#160;&#160;(6)</td></tr>
<tr class="memdesc:gacf671c2b22efd7086a6d02720bdb6e1b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indication of Alignment level bit shift.  <a href="#gacf671c2b22efd7086a6d02720bdb6e1b">More...</a><br/></td></tr>
<tr class="separator:gacf671c2b22efd7086a6d02720bdb6e1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga48bed09f27ff0d6d80a53e8c74defde3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga48bed09f27ff0d6d80a53e8c74defde3">XSPDIF_AES_STS_INDICATE_ALIGN_LEVEL_MASK</a>&#160;&#160;&#160;(0x3 &lt;&lt; XSPDIF_AES_STS_INDICATE_ALIGN_LEVEL_SHIFT)</td></tr>
<tr class="memdesc:ga48bed09f27ff0d6d80a53e8c74defde3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indication of Alignment level mask.  <a href="#ga48bed09f27ff0d6d80a53e8c74defde3">More...</a><br/></td></tr>
<tr class="separator:ga48bed09f27ff0d6d80a53e8c74defde3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga09adbe91988432142af77bc4376a656c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga09adbe91988432142af77bc4376a656c">XSPDIF_AES_STS_CH_NUM0_SHIFT</a>&#160;&#160;&#160;(0)</td></tr>
<tr class="memdesc:ga09adbe91988432142af77bc4376a656c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Channel Number (0) bit shift.  <a href="#ga09adbe91988432142af77bc4376a656c">More...</a><br/></td></tr>
<tr class="separator:ga09adbe91988432142af77bc4376a656c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad1c4ea06eaf4dc86db223a2b0ca5ec02"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gad1c4ea06eaf4dc86db223a2b0ca5ec02">XSPDIF_AES_STS_CH_NUM0_MASK</a>&#160;&#160;&#160;(0x7F &lt;&lt; XSPDIF_AES_STS_CH_NUM0_SHIFT)</td></tr>
<tr class="memdesc:gad1c4ea06eaf4dc86db223a2b0ca5ec02"><td class="mdescLeft">&#160;</td><td class="mdescRight">Channel Number (0) mask.  <a href="#gad1c4ea06eaf4dc86db223a2b0ca5ec02">More...</a><br/></td></tr>
<tr class="separator:gad1c4ea06eaf4dc86db223a2b0ca5ec02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae936b4e2dc69b44f9cb55e2797986de2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gae936b4e2dc69b44f9cb55e2797986de2">XSPDIF_AES_STS_MC_CH_MODE_SHIFT</a>&#160;&#160;&#160;(7)</td></tr>
<tr class="memdesc:gae936b4e2dc69b44f9cb55e2797986de2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multichannel mode bit shift.  <a href="#gae936b4e2dc69b44f9cb55e2797986de2">More...</a><br/></td></tr>
<tr class="separator:gae936b4e2dc69b44f9cb55e2797986de2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8c6574f10f4ddf3191739f2a65e41fff"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga8c6574f10f4ddf3191739f2a65e41fff">XSPDIF_AES_STS_MC_CH_MODE_MASK</a>&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#gae936b4e2dc69b44f9cb55e2797986de2">XSPDIF_AES_STS_MC_CH_MODE_SHIFT</a>)</td></tr>
<tr class="memdesc:ga8c6574f10f4ddf3191739f2a65e41fff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multichannel mode mask.  <a href="#ga8c6574f10f4ddf3191739f2a65e41fff">More...</a><br/></td></tr>
<tr class="separator:ga8c6574f10f4ddf3191739f2a65e41fff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabf568ad55fe7d885b0111638782904ee"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gabf568ad55fe7d885b0111638782904ee">XSPDIF_AES_STS_CH_NUM1_SHIFT</a>&#160;&#160;&#160;(0)</td></tr>
<tr class="memdesc:gabf568ad55fe7d885b0111638782904ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Channel Number (1) bit shift.  <a href="#gabf568ad55fe7d885b0111638782904ee">More...</a><br/></td></tr>
<tr class="separator:gabf568ad55fe7d885b0111638782904ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2d2322d01a917e1c615a6c61ca1abf51"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga2d2322d01a917e1c615a6c61ca1abf51">XSPDIF_AES_STS_CH_NUM1_MASK</a>&#160;&#160;&#160;(0xF &lt;&lt; XSPDIF_AES_STS_CH_NUM1_SHIFT)</td></tr>
<tr class="memdesc:ga2d2322d01a917e1c615a6c61ca1abf51"><td class="mdescLeft">&#160;</td><td class="mdescRight">Channel Number (1) mask.  <a href="#ga2d2322d01a917e1c615a6c61ca1abf51">More...</a><br/></td></tr>
<tr class="separator:ga2d2322d01a917e1c615a6c61ca1abf51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab3f43f893c92dc38fd08b6d5da55da5f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gab3f43f893c92dc38fd08b6d5da55da5f">XSPDIF_AES_STS_MC_CH_MODE_NUM_SHIFT</a>&#160;&#160;&#160;(4)</td></tr>
<tr class="memdesc:gab3f43f893c92dc38fd08b6d5da55da5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multichannel mode number bit shift.  <a href="#gab3f43f893c92dc38fd08b6d5da55da5f">More...</a><br/></td></tr>
<tr class="separator:gab3f43f893c92dc38fd08b6d5da55da5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga71078825e28429294e0ff6bd6ac2f8aa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga71078825e28429294e0ff6bd6ac2f8aa">XSPDIF_AES_STS_MC_CH_MODE_NUM_MASK</a>&#160;&#160;&#160;(0x7 &lt;&lt; XSPDIF_AES_STS_MC_CH_MODE_NUM_SHIFT)</td></tr>
<tr class="memdesc:ga71078825e28429294e0ff6bd6ac2f8aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multichannel mode number mask.  <a href="#ga71078825e28429294e0ff6bd6ac2f8aa">More...</a><br/></td></tr>
<tr class="separator:ga71078825e28429294e0ff6bd6ac2f8aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga312051807586273423b084606b9e40ae"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga312051807586273423b084606b9e40ae">XSPDIF_AES_STS_DIGITAL_AUDIO_REF_SIG_SHIFT</a>&#160;&#160;&#160;(0)</td></tr>
<tr class="memdesc:ga312051807586273423b084606b9e40ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Digital Reference Audio signal bit shift.  <a href="#ga312051807586273423b084606b9e40ae">More...</a><br/></td></tr>
<tr class="separator:ga312051807586273423b084606b9e40ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacdf0421f14eede57f958994ee05b07bc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gacdf0421f14eede57f958994ee05b07bc">XSPDIF_AES_STS_DIGITAL_AUDIO_REF_SIG_MASK</a>&#160;&#160;&#160;(0x3 &lt;&lt; XSPDIF_AES_STS_DIGITAL_AUDIO_REF_SIG_SHIFT)</td></tr>
<tr class="memdesc:gacdf0421f14eede57f958994ee05b07bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Digital Reference Audio signal mask.  <a href="#gacdf0421f14eede57f958994ee05b07bc">More...</a><br/></td></tr>
<tr class="separator:gacdf0421f14eede57f958994ee05b07bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab6bba951c11eb2f2d2f8d5fe360753c2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gab6bba951c11eb2f2d2f8d5fe360753c2">XSPDIF_AES_STS_RSVD_BUT_UNDEF0_SHIFT</a>&#160;&#160;&#160;(2)</td></tr>
<tr class="memdesc:gab6bba951c11eb2f2d2f8d5fe360753c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reserved but undefined (0) bit shift.  <a href="#gab6bba951c11eb2f2d2f8d5fe360753c2">More...</a><br/></td></tr>
<tr class="separator:gab6bba951c11eb2f2d2f8d5fe360753c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaef6674a7adc5e3901805f0eda7a383db"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gaef6674a7adc5e3901805f0eda7a383db">XSPDIF_AES_STS_RSVD_BUT_UNDEF0_MASK</a>&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#gab6bba951c11eb2f2d2f8d5fe360753c2">XSPDIF_AES_STS_RSVD_BUT_UNDEF0_SHIFT</a>)</td></tr>
<tr class="memdesc:gaef6674a7adc5e3901805f0eda7a383db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reserved but undefined (0) mask.  <a href="#gaef6674a7adc5e3901805f0eda7a383db">More...</a><br/></td></tr>
<tr class="separator:gaef6674a7adc5e3901805f0eda7a383db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae7f4f7367ab6da14a4bbbf1e9b372f8b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gae7f4f7367ab6da14a4bbbf1e9b372f8b">XSPDIF_AES_STS_SAMPLING_FREQ_Q_SHIFT</a>&#160;&#160;&#160;(3)</td></tr>
<tr class="memdesc:gae7f4f7367ab6da14a4bbbf1e9b372f8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sampling Frequency (1) bit shift.  <a href="#gae7f4f7367ab6da14a4bbbf1e9b372f8b">More...</a><br/></td></tr>
<tr class="separator:gae7f4f7367ab6da14a4bbbf1e9b372f8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad18a50ce2817a5141e4219b632b6881b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gad18a50ce2817a5141e4219b632b6881b">XSPDIF_AES_STS_SAMPLING_FREQ_Q_MASK</a>&#160;&#160;&#160;(0xF &lt;&lt; XSPDIF_AES_STS_SAMPLING_FREQ_Q_SHIFT)</td></tr>
<tr class="memdesc:gad18a50ce2817a5141e4219b632b6881b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sampling Frequency (1) mask.  <a href="#gad18a50ce2817a5141e4219b632b6881b">More...</a><br/></td></tr>
<tr class="separator:gad18a50ce2817a5141e4219b632b6881b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac7103e8d9208f958e09758d8a6ec2d72"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gac7103e8d9208f958e09758d8a6ec2d72">XSPDIF_AES_STS_SAMPLING_FREQ_SCALE_FLAG_SHIFT</a>&#160;&#160;&#160;(7)</td></tr>
<tr class="memdesc:gac7103e8d9208f958e09758d8a6ec2d72"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sampling Frequency scaling flag bit shift.  <a href="#gac7103e8d9208f958e09758d8a6ec2d72">More...</a><br/></td></tr>
<tr class="separator:gac7103e8d9208f958e09758d8a6ec2d72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad2b5f2028540d8dfdbd282a441e6d2de"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gad2b5f2028540d8dfdbd282a441e6d2de">XSPDIF_AES_STS_SAMPLING_FREQ_SCALE_FLAG_MASK</a>&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#gac7103e8d9208f958e09758d8a6ec2d72">XSPDIF_AES_STS_SAMPLING_FREQ_SCALE_FLAG_SHIFT</a>)</td></tr>
<tr class="memdesc:gad2b5f2028540d8dfdbd282a441e6d2de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sampling Frequency scaling flag mask.  <a href="#gad2b5f2028540d8dfdbd282a441e6d2de">More...</a><br/></td></tr>
<tr class="separator:gad2b5f2028540d8dfdbd282a441e6d2de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabcb0798e16471a859ca87835b45d5ad2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gabcb0798e16471a859ca87835b45d5ad2">XSPDIF_AES_STS_RSVD_BUT_UNDEF1_SHIFT</a>&#160;&#160;&#160;(0)</td></tr>
<tr class="memdesc:gabcb0798e16471a859ca87835b45d5ad2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reserved but undefined (1) bit shift.  <a href="#gabcb0798e16471a859ca87835b45d5ad2">More...</a><br/></td></tr>
<tr class="separator:gabcb0798e16471a859ca87835b45d5ad2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3e9765ab35955fdd6d60b9a38f525d55"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga3e9765ab35955fdd6d60b9a38f525d55">XSPDIF_AES_STS_RSVD_BUT_UNDEF1_MASK</a>&#160;&#160;&#160;(0xFF &lt;&lt; XSPDIF_AES_STS_RSVD_BUT_UNDEF1_SHIFT)</td></tr>
<tr class="memdesc:ga3e9765ab35955fdd6d60b9a38f525d55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reserved but undefined (1) mask.  <a href="#ga3e9765ab35955fdd6d60b9a38f525d55">More...</a><br/></td></tr>
<tr class="separator:ga3e9765ab35955fdd6d60b9a38f525d55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga509f04a0d2ce7e987975232bed033c79"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga509f04a0d2ce7e987975232bed033c79">XSPDIF_AES_STS_ALPHANUM_CH_ORG_DATA_OFFSET</a>&#160;&#160;&#160;(6)</td></tr>
<tr class="memdesc:ga509f04a0d2ce7e987975232bed033c79"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alphanumeric channel origin data register(s) offset.  <a href="#ga509f04a0d2ce7e987975232bed033c79">More...</a><br/></td></tr>
<tr class="separator:ga509f04a0d2ce7e987975232bed033c79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga63d3830f5f577547c7acb66ca3da4fc7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga63d3830f5f577547c7acb66ca3da4fc7">XSPDIF_AES_STS_ALPHANUM_CH_DEST_DATA_OFFSET</a>&#160;&#160;&#160;(10)</td></tr>
<tr class="memdesc:ga63d3830f5f577547c7acb66ca3da4fc7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alphanumeric channel destination data bit shift.  <a href="#ga63d3830f5f577547c7acb66ca3da4fc7">More...</a><br/></td></tr>
<tr class="separator:ga63d3830f5f577547c7acb66ca3da4fc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeb0ee48f8848da6cad553709f99bba14"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gaeb0ee48f8848da6cad553709f99bba14">XSPDIF_AES_STS_LOCAL_SAMPLE_ADDRCODE_OFFSET</a>&#160;&#160;&#160;(14)</td></tr>
<tr class="memdesc:gaeb0ee48f8848da6cad553709f99bba14"><td class="mdescLeft">&#160;</td><td class="mdescRight">Local sample address code register(s) offset.  <a href="#gaeb0ee48f8848da6cad553709f99bba14">More...</a><br/></td></tr>
<tr class="separator:gaeb0ee48f8848da6cad553709f99bba14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4a81a840355baee43ebbf6c912dbe895"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga4a81a840355baee43ebbf6c912dbe895">XSPDIF_AES_STS_TIMEOFDAY_SAMPLE_ADDRCODE_OFFSET</a>&#160;&#160;&#160;(18)</td></tr>
<tr class="memdesc:ga4a81a840355baee43ebbf6c912dbe895"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time-of-day sample address code register(s) offset.  <a href="#ga4a81a840355baee43ebbf6c912dbe895">More...</a><br/></td></tr>
<tr class="separator:ga4a81a840355baee43ebbf6c912dbe895"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac781e3060f6f281ddf4c2fb609b62941"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gac781e3060f6f281ddf4c2fb609b62941">XSPDIF_AES_STS_RELIABLE_FLAGS_OFFSET</a>&#160;&#160;&#160;(22)</td></tr>
<tr class="memdesc:gac781e3060f6f281ddf4c2fb609b62941"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reliability flags bit shift.  <a href="#gac781e3060f6f281ddf4c2fb609b62941">More...</a><br/></td></tr>
<tr class="separator:gac781e3060f6f281ddf4c2fb609b62941"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga14d044656cba232d7178da66be8f6074"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga14d044656cba232d7178da66be8f6074">XSPDIF_AES_STS_CRC_CHAR_OFFSET</a>&#160;&#160;&#160;(23)</td></tr>
<tr class="memdesc:ga14d044656cba232d7178da66be8f6074"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cyclic redundancy check character bit shift.  <a href="#ga14d044656cba232d7178da66be8f6074">More...</a><br/></td></tr>
<tr class="separator:ga14d044656cba232d7178da66be8f6074"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Register Map</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp092729737d14686054aa21531a3582c6"></a>Register offsets for the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> device. </p>
</td></tr>
<tr class="memitem:ga54e62f082a103141123492ce62a09a44"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga54e62f082a103141123492ce62a09a44">XSPDIF_GLOBAL_INTERRUPT_ENABLE_OFFSET</a>&#160;&#160;&#160;0x1C</td></tr>
<tr class="memdesc:ga54e62f082a103141123492ce62a09a44"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device Global interrupt enable register.  <a href="#ga54e62f082a103141123492ce62a09a44">More...</a><br/></td></tr>
<tr class="separator:ga54e62f082a103141123492ce62a09a44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafecdc424bebe7cf1f779fc5d479c48c3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gafecdc424bebe7cf1f779fc5d479c48c3">XSPDIF_INTERRUPT_STATUS_REGISTER_OFFSET</a>&#160;&#160;&#160;0x20</td></tr>
<tr class="memdesc:gafecdc424bebe7cf1f779fc5d479c48c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">IP Interrupt Status Register.  <a href="#gafecdc424bebe7cf1f779fc5d479c48c3">More...</a><br/></td></tr>
<tr class="separator:gafecdc424bebe7cf1f779fc5d479c48c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2e873c24b76b1f0c5ea5e2067fe96127"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga2e873c24b76b1f0c5ea5e2067fe96127">XSPDIF_INTERRUPT_ENABLE_REGISTER_OFFSET</a>&#160;&#160;&#160;0x28</td></tr>
<tr class="memdesc:ga2e873c24b76b1f0c5ea5e2067fe96127"><td class="mdescLeft">&#160;</td><td class="mdescRight">IP interrupt enable Register.  <a href="#ga2e873c24b76b1f0c5ea5e2067fe96127">More...</a><br/></td></tr>
<tr class="separator:ga2e873c24b76b1f0c5ea5e2067fe96127"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafcc4d1467e4b02bb63d8ed3ca103c384"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gafcc4d1467e4b02bb63d8ed3ca103c384">XSPDIF_SOFT_RESET_REGISTER_OFFSET</a>&#160;&#160;&#160;0x40</td></tr>
<tr class="memdesc:gafcc4d1467e4b02bb63d8ed3ca103c384"><td class="mdescLeft">&#160;</td><td class="mdescRight">Soft Reset Register.  <a href="#gafcc4d1467e4b02bb63d8ed3ca103c384">More...</a><br/></td></tr>
<tr class="separator:gafcc4d1467e4b02bb63d8ed3ca103c384"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2fc47b801ec55e2dd7bcebb2bf117422"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga2fc47b801ec55e2dd7bcebb2bf117422">XSPDIF_CONTROL_REGISTER_OFFSET</a>&#160;&#160;&#160;0x44</td></tr>
<tr class="memdesc:ga2fc47b801ec55e2dd7bcebb2bf117422"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control Register.  <a href="#ga2fc47b801ec55e2dd7bcebb2bf117422">More...</a><br/></td></tr>
<tr class="separator:ga2fc47b801ec55e2dd7bcebb2bf117422"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0dcf2448b7e5e551ec1989723967e4b9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga0dcf2448b7e5e551ec1989723967e4b9">XSPDIF_STATUS_REGISTER_OFFSET</a>&#160;&#160;&#160;0x48</td></tr>
<tr class="memdesc:ga0dcf2448b7e5e551ec1989723967e4b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Status Register.  <a href="#ga0dcf2448b7e5e551ec1989723967e4b9">More...</a><br/></td></tr>
<tr class="separator:ga0dcf2448b7e5e551ec1989723967e4b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga52d7b2b64993516fbb98d29dd8878be6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga52d7b2b64993516fbb98d29dd8878be6">XSPDIF_CHANNEL_STATUS_REGISTER0_OFFSET</a>&#160;&#160;&#160;0x4C</td></tr>
<tr class="memdesc:ga52d7b2b64993516fbb98d29dd8878be6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Audio Channel Status bits 0 to 31.  <a href="#ga52d7b2b64993516fbb98d29dd8878be6">More...</a><br/></td></tr>
<tr class="separator:ga52d7b2b64993516fbb98d29dd8878be6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga657a7152cbcaf8adee25c4dc9fb6f299"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga657a7152cbcaf8adee25c4dc9fb6f299">XSPDIF_CHANNEL_A_USER_DATA_REGISTER0_OFFSET</a>&#160;&#160;&#160;0x64</td></tr>
<tr class="memdesc:ga657a7152cbcaf8adee25c4dc9fb6f299"><td class="mdescLeft">&#160;</td><td class="mdescRight">Channel A user data bits 0 to 31.  <a href="#ga657a7152cbcaf8adee25c4dc9fb6f299">More...</a><br/></td></tr>
<tr class="separator:ga657a7152cbcaf8adee25c4dc9fb6f299"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1711efa0e12d7e74ddfbc21e4ffd519d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga1711efa0e12d7e74ddfbc21e4ffd519d">XSPDIF_CHANNEL_B_USER_DATA_REGISTER0_OFFSET</a>&#160;&#160;&#160;0x7C</td></tr>
<tr class="memdesc:ga1711efa0e12d7e74ddfbc21e4ffd519d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Channel B user data bits 0 to 31.  <a href="#ga1711efa0e12d7e74ddfbc21e4ffd519d">More...</a><br/></td></tr>
<tr class="separator:ga1711efa0e12d7e74ddfbc21e4ffd519d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Core Configuration Register masks and shifts</h2></td></tr>
<tr class="memitem:ga14a20b080d40043f2e576a964ea7d703"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga14a20b080d40043f2e576a964ea7d703">XSPDIF_CORE_ENABLE_SHIFT</a>&#160;&#160;&#160;(0)</td></tr>
<tr class="memdesc:ga14a20b080d40043f2e576a964ea7d703"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is XSPDIF Core Enable bit shift.  <a href="#ga14a20b080d40043f2e576a964ea7d703">More...</a><br/></td></tr>
<tr class="separator:ga14a20b080d40043f2e576a964ea7d703"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6c809f933049ee2d66fb43f023c3bb32"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga6c809f933049ee2d66fb43f023c3bb32">XSPDIF_CORE_ENABLE_MASK</a>&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#ga14a20b080d40043f2e576a964ea7d703">XSPDIF_CORE_ENABLE_SHIFT</a>)</td></tr>
<tr class="memdesc:ga6c809f933049ee2d66fb43f023c3bb32"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is XSPDIF Core Enable bit mask.  <a href="#ga6c809f933049ee2d66fb43f023c3bb32">More...</a><br/></td></tr>
<tr class="separator:ga6c809f933049ee2d66fb43f023c3bb32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab233d15fdfb78d5162efc06e57a706c6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gab233d15fdfb78d5162efc06e57a706c6">XSPDIF_FIFO_FLUSH_SHIFT</a>&#160;&#160;&#160;(1)</td></tr>
<tr class="memdesc:gab233d15fdfb78d5162efc06e57a706c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is XSPDIF Reset FIFO bit shift.  <a href="#gab233d15fdfb78d5162efc06e57a706c6">More...</a><br/></td></tr>
<tr class="separator:gab233d15fdfb78d5162efc06e57a706c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga44d793540b399f583b32940d41614389"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga44d793540b399f583b32940d41614389">XSPDIF_FIFO_FLUSH_MASK</a>&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#gab233d15fdfb78d5162efc06e57a706c6">XSPDIF_FIFO_FLUSH_SHIFT</a>)</td></tr>
<tr class="memdesc:ga44d793540b399f583b32940d41614389"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is XSPDIF Reset FIFO bit mask.  <a href="#ga44d793540b399f583b32940d41614389">More...</a><br/></td></tr>
<tr class="separator:ga44d793540b399f583b32940d41614389"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac175833095028d13a1fb8704219cb01f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gac175833095028d13a1fb8704219cb01f">XSPDIF_CLOCK_CONFIG_BITS_SHIFT</a>&#160;&#160;&#160;(2)</td></tr>
<tr class="memdesc:gac175833095028d13a1fb8704219cb01f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is XSPDIF clock configuration bits shift.  <a href="#gac175833095028d13a1fb8704219cb01f">More...</a><br/></td></tr>
<tr class="separator:gac175833095028d13a1fb8704219cb01f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga69580f92443ed12502c008a1457fe1be"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga69580f92443ed12502c008a1457fe1be">XSPDIF_CLOCK_CONFIG_BITS_MASK</a>&#160;&#160;&#160;((0xF) &lt;&lt; XSPDIF_CLOCK_CONFIG_BITS_SHIFT)</td></tr>
<tr class="memdesc:ga69580f92443ed12502c008a1457fe1be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is XSPDIF clock configuration bits mask.  <a href="#ga69580f92443ed12502c008a1457fe1be">More...</a><br/></td></tr>
<tr class="separator:ga69580f92443ed12502c008a1457fe1be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga964ad8ea66a86a6ce4c7cf7ff2450dde"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga964ad8ea66a86a6ce4c7cf7ff2450dde">XSPDIF_SAMPLE_CLOCK_COUNT_SHIFT</a>&#160;&#160;&#160;(0)</td></tr>
<tr class="memdesc:ga964ad8ea66a86a6ce4c7cf7ff2450dde"><td class="mdescLeft">&#160;</td><td class="mdescRight">XSPDIF sample clock count shift.  <a href="#ga964ad8ea66a86a6ce4c7cf7ff2450dde">More...</a><br/></td></tr>
<tr class="separator:ga964ad8ea66a86a6ce4c7cf7ff2450dde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga20f9c3bca0884af7fdfa9bf0c5f2d86f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga20f9c3bca0884af7fdfa9bf0c5f2d86f">XSPDIF_SAMPLE_CLOCK_COUNT_MASK</a>&#160;&#160;&#160;((0X3FF) &lt;&lt; XSPDIF_SAMPLE_CLOCK_COUNT_SHIFT)</td></tr>
<tr class="memdesc:ga20f9c3bca0884af7fdfa9bf0c5f2d86f"><td class="mdescLeft">&#160;</td><td class="mdescRight">XSPDIF sample clock count mask.  <a href="#ga20f9c3bca0884af7fdfa9bf0c5f2d86f">More...</a><br/></td></tr>
<tr class="separator:ga20f9c3bca0884af7fdfa9bf0c5f2d86f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Interrupt masks and shifts</h2></td></tr>
<tr class="memitem:ga1d9df862b59ee96e3e02de1aae228086"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga1d9df862b59ee96e3e02de1aae228086">XSPDIF_TX_OR_RX_FIFO_FULL_SHIFT</a>&#160;&#160;&#160;(0)</td></tr>
<tr class="memdesc:ga1d9df862b59ee96e3e02de1aae228086"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transmitter or Receiver FIFO Full Interrupt bit shift.  <a href="#ga1d9df862b59ee96e3e02de1aae228086">More...</a><br/></td></tr>
<tr class="separator:ga1d9df862b59ee96e3e02de1aae228086"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabe00ee416b556177d910c3e17fb9e873"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gabe00ee416b556177d910c3e17fb9e873">XSPDIF_TX_OR_RX_FIFO_FULL_MASK</a>&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#ga1d9df862b59ee96e3e02de1aae228086">XSPDIF_TX_OR_RX_FIFO_FULL_SHIFT</a>)</td></tr>
<tr class="memdesc:gabe00ee416b556177d910c3e17fb9e873"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transmitter or Receiver FIFO Full Interrupt bit mask.  <a href="#gabe00ee416b556177d910c3e17fb9e873">More...</a><br/></td></tr>
<tr class="separator:gabe00ee416b556177d910c3e17fb9e873"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gade30ebd0405e416cd787ad39b6f3c1cc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gade30ebd0405e416cd787ad39b6f3c1cc">XSPDIF_TX_OR_RX_FIFO_EMPTY_SHIFT</a>&#160;&#160;&#160;(1)</td></tr>
<tr class="memdesc:gade30ebd0405e416cd787ad39b6f3c1cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transmitter or Receiver FIFO Empty Interrupt bit shift.  <a href="#gade30ebd0405e416cd787ad39b6f3c1cc">More...</a><br/></td></tr>
<tr class="separator:gade30ebd0405e416cd787ad39b6f3c1cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga01764f0f8e04b295b8ec379e1c039190"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga01764f0f8e04b295b8ec379e1c039190">XSPDIF_TX_OR_RX_FIFO_EMPTY_MASK</a>&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#gade30ebd0405e416cd787ad39b6f3c1cc">XSPDIF_TX_OR_RX_FIFO_EMPTY_SHIFT</a>)</td></tr>
<tr class="memdesc:ga01764f0f8e04b295b8ec379e1c039190"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transmitter or Receiver FIFO Empty Interrupt bit mask.  <a href="#ga01764f0f8e04b295b8ec379e1c039190">More...</a><br/></td></tr>
<tr class="separator:ga01764f0f8e04b295b8ec379e1c039190"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0480d1e28525b52c86770476d5199ea8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga0480d1e28525b52c86770476d5199ea8">XSPDIF_START_OF_BLOCK_SHIFT</a>&#160;&#160;&#160;(2)</td></tr>
<tr class="memdesc:ga0480d1e28525b52c86770476d5199ea8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start of Block Interrupt bit mask ( in Receive mode)  <a href="#ga0480d1e28525b52c86770476d5199ea8">More...</a><br/></td></tr>
<tr class="separator:ga0480d1e28525b52c86770476d5199ea8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga85ffec35bf477ccfe1e0cfc949ff7b26"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga85ffec35bf477ccfe1e0cfc949ff7b26">XSPDIF_START_OF_BLOCK_MASK</a>&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#ga0480d1e28525b52c86770476d5199ea8">XSPDIF_START_OF_BLOCK_SHIFT</a>)</td></tr>
<tr class="memdesc:ga85ffec35bf477ccfe1e0cfc949ff7b26"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transmitter or Receiver FIFO Full Interrupt bit shift.  <a href="#ga85ffec35bf477ccfe1e0cfc949ff7b26">More...</a><br/></td></tr>
<tr class="separator:ga85ffec35bf477ccfe1e0cfc949ff7b26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacac3ea9e141b8c41d6af146219a01ee2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gacac3ea9e141b8c41d6af146219a01ee2">XSPDIF_BMC_ERROR_SHIFT</a>&#160;&#160;&#160;(3)</td></tr>
<tr class="memdesc:gacac3ea9e141b8c41d6af146219a01ee2"><td class="mdescLeft">&#160;</td><td class="mdescRight">BMC Error Interrupt bit shift.  <a href="#gacac3ea9e141b8c41d6af146219a01ee2">More...</a><br/></td></tr>
<tr class="separator:gacac3ea9e141b8c41d6af146219a01ee2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa68d454f0f8827129c0ec744fbf3138f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gaa68d454f0f8827129c0ec744fbf3138f">XSPDIF_BMC_ERROR_MASK</a>&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#gacac3ea9e141b8c41d6af146219a01ee2">XSPDIF_BMC_ERROR_SHIFT</a>)</td></tr>
<tr class="memdesc:gaa68d454f0f8827129c0ec744fbf3138f"><td class="mdescLeft">&#160;</td><td class="mdescRight">BMC Error Interrupt bit mask.  <a href="#gaa68d454f0f8827129c0ec744fbf3138f">More...</a><br/></td></tr>
<tr class="separator:gaa68d454f0f8827129c0ec744fbf3138f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga50e1fd9807c67cd494b043712940edb6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga50e1fd9807c67cd494b043712940edb6">XSPDIF_PREAMBLE_ERROR_SHIFT</a>&#160;&#160;&#160;(4)</td></tr>
<tr class="memdesc:ga50e1fd9807c67cd494b043712940edb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Preamble error Interrupt bit shift.  <a href="#ga50e1fd9807c67cd494b043712940edb6">More...</a><br/></td></tr>
<tr class="separator:ga50e1fd9807c67cd494b043712940edb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4a060f08a718b7727555715810fb6caf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga4a060f08a718b7727555715810fb6caf">XSPDIF_PREAMBLE_ERROR_MASK</a>&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#ga50e1fd9807c67cd494b043712940edb6">XSPDIF_PREAMBLE_ERROR_SHIFT</a>)</td></tr>
<tr class="memdesc:ga4a060f08a718b7727555715810fb6caf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Preamble error Interrupt bit mask.  <a href="#ga4a060f08a718b7727555715810fb6caf">More...</a><br/></td></tr>
<tr class="separator:ga4a060f08a718b7727555715810fb6caf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad16dc8a77dde55e1265c9a1f5b09d459"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gad16dc8a77dde55e1265c9a1f5b09d459">XSPDIF_GINTR_ENABLE_SHIFT</a>&#160;&#160;&#160;(31)</td></tr>
<tr class="memdesc:gad16dc8a77dde55e1265c9a1f5b09d459"><td class="mdescLeft">&#160;</td><td class="mdescRight">Global interrupt enable bit shift.  <a href="#gad16dc8a77dde55e1265c9a1f5b09d459">More...</a><br/></td></tr>
<tr class="separator:gad16dc8a77dde55e1265c9a1f5b09d459"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad0e21f07fb89aa3b362e4083ca5630dd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gad0e21f07fb89aa3b362e4083ca5630dd">XSPDIF_GINTR_ENABLE_MASK</a>&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#gad16dc8a77dde55e1265c9a1f5b09d459">XSPDIF_GINTR_ENABLE_SHIFT</a>)</td></tr>
<tr class="memdesc:gad0e21f07fb89aa3b362e4083ca5630dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Global interrupt enable bit mask.  <a href="#gad0e21f07fb89aa3b362e4083ca5630dd">More...</a><br/></td></tr>
<tr class="separator:gad0e21f07fb89aa3b362e4083ca5630dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Register access macro definition</h2></td></tr>
<tr class="memitem:gac83864972173c1015d34ed8020bf634c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gac83864972173c1015d34ed8020bf634c">XSpdif_In32</a>&#160;&#160;&#160;Xil_In32</td></tr>
<tr class="memdesc:gac83864972173c1015d34ed8020bf634c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input Operations.  <a href="#gac83864972173c1015d34ed8020bf634c">More...</a><br/></td></tr>
<tr class="separator:gac83864972173c1015d34ed8020bf634c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaed24ea3d35e70dcda7745d333425cd1c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gaed24ea3d35e70dcda7745d333425cd1c">XSpdif_Out32</a>&#160;&#160;&#160;Xil_Out32</td></tr>
<tr class="memdesc:gaed24ea3d35e70dcda7745d333425cd1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Output Operations.  <a href="#gaed24ea3d35e70dcda7745d333425cd1c">More...</a><br/></td></tr>
<tr class="separator:gaed24ea3d35e70dcda7745d333425cd1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8a5504bdf152f4699dda951a971b5ce5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga8a5504bdf152f4699dda951a971b5ce5">XSpdif_ReadReg</a>(BaseAddress, RegOffset)&#160;&#160;&#160;<a class="el" href="group__spdif.html#gac83864972173c1015d34ed8020bf634c">XSpdif_In32</a>((BaseAddress) + ((u32)RegOffset))</td></tr>
<tr class="memdesc:ga8a5504bdf152f4699dda951a971b5ce5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro reads a value from a <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> register.  <a href="#ga8a5504bdf152f4699dda951a971b5ce5">More...</a><br/></td></tr>
<tr class="separator:ga8a5504bdf152f4699dda951a971b5ce5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga315b6c9b02574277d0f5e66f6bb55888"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga315b6c9b02574277d0f5e66f6bb55888">XSpdif_WriteReg</a>(BaseAddress, RegOffset, Data)&#160;&#160;&#160;<a class="el" href="group__spdif.html#gaed24ea3d35e70dcda7745d333425cd1c">XSpdif_Out32</a>((BaseAddress) + ((u32)RegOffset), (u32)(Data))</td></tr>
<tr class="memdesc:ga315b6c9b02574277d0f5e66f6bb55888"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro writes a value to a <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> register.  <a href="#ga315b6c9b02574277d0f5e66f6bb55888">More...</a><br/></td></tr>
<tr class="separator:ga315b6c9b02574277d0f5e66f6bb55888"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="ga63d3830f5f577547c7acb66ca3da4fc7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_ALPHANUM_CH_DEST_DATA_OFFSET&#160;&#160;&#160;(10)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Alphanumeric channel destination data bit shift. </p>

</div>
</div>
<a class="anchor" id="ga509f04a0d2ce7e987975232bed033c79"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_ALPHANUM_CH_ORG_DATA_OFFSET&#160;&#160;&#160;(6)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Alphanumeric channel origin data register(s) offset. </p>

</div>
</div>
<a class="anchor" id="gadbb9d31148b71d737e51021aa90986d2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_AUDIO_SIG_PRE_EMPH_MASK&#160;&#160;&#160;(0x7 &lt;&lt; XSPDIF_AES_STS_AUDIO_SIG_PRE_EMPH_SHIFT)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Audio signal pre-emphasis mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="ga31d37e948304527fc7f2805c12beaa5d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_AUDIO_SIG_PRE_EMPH_SHIFT&#160;&#160;&#160;(2)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Audio signal pre- emphasis bit shift. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="ga61d1c6757b6483b6364af7ddbe2e0b92"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_CH_MODE_MASK&#160;&#160;&#160;(0xF &lt;&lt; XSPDIF_AES_STS_CH_MODE_SHIFT)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Channel mode mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7336455b5fae364b65e59e559f7567bb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_CH_MODE_SHIFT&#160;&#160;&#160;(0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Channel mode bit shift. </p>

</div>
</div>
<a class="anchor" id="gad1c4ea06eaf4dc86db223a2b0ca5ec02"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_CH_NUM0_MASK&#160;&#160;&#160;(0x7F &lt;&lt; XSPDIF_AES_STS_CH_NUM0_SHIFT)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Channel Number (0) mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="ga09adbe91988432142af77bc4376a656c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_CH_NUM0_SHIFT&#160;&#160;&#160;(0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Channel Number (0) bit shift. </p>

</div>
</div>
<a class="anchor" id="ga2d2322d01a917e1c615a6c61ca1abf51"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_CH_NUM1_MASK&#160;&#160;&#160;(0xF &lt;&lt; XSPDIF_AES_STS_CH_NUM1_SHIFT)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Channel Number (1) mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="gabf568ad55fe7d885b0111638782904ee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_CH_NUM1_SHIFT&#160;&#160;&#160;(0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Channel Number (1) bit shift. </p>

</div>
</div>
<a class="anchor" id="ga14d044656cba232d7178da66be8f6074"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_CRC_CHAR_OFFSET&#160;&#160;&#160;(23)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Cyclic redundancy check character bit shift. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="gacdf0421f14eede57f958994ee05b07bc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_DIGITAL_AUDIO_REF_SIG_MASK&#160;&#160;&#160;(0x3 &lt;&lt; XSPDIF_AES_STS_DIGITAL_AUDIO_REF_SIG_SHIFT)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Digital Reference Audio signal mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="ga312051807586273423b084606b9e40ae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_DIGITAL_AUDIO_REF_SIG_SHIFT&#160;&#160;&#160;(0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Digital Reference Audio signal bit shift. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="ga48bed09f27ff0d6d80a53e8c74defde3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_INDICATE_ALIGN_LEVEL_MASK&#160;&#160;&#160;(0x3 &lt;&lt; XSPDIF_AES_STS_INDICATE_ALIGN_LEVEL_SHIFT)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Indication of Alignment level mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="gacf671c2b22efd7086a6d02720bdb6e1b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_INDICATE_ALIGN_LEVEL_SHIFT&#160;&#160;&#160;(6)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Indication of Alignment level bit shift. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="ga9c214675f7ddf66a51bb87f36266b620"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_LINEAR_PCM_ID_MASK&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#ga567bced0ad2be4f7a01ddf89b999f915">XSPDIF_AES_STS_LINEAR_PCM_ID_SHIFT</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Linear PCM Identification mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="ga567bced0ad2be4f7a01ddf89b999f915"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_LINEAR_PCM_ID_SHIFT&#160;&#160;&#160;(1)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Linear PCM Identification bit shift. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="gaeb0ee48f8848da6cad553709f99bba14"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_LOCAL_SAMPLE_ADDRCODE_OFFSET&#160;&#160;&#160;(14)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Local sample address code register(s) offset. </p>

</div>
</div>
<a class="anchor" id="gac73a0ee6d535b3a0e02774b564bae998"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_LOCK_INDICATION_MASK&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#ga326786a673b55daf8b3f68050167481f">XSPDIF_AES_STS_LOCK_INDICATION_SHIFT</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Lock indication mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="ga326786a673b55daf8b3f68050167481f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_LOCK_INDICATION_SHIFT&#160;&#160;&#160;(5)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>lock indication bit shift </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="ga8c6574f10f4ddf3191739f2a65e41fff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_MC_CH_MODE_MASK&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#gae936b4e2dc69b44f9cb55e2797986de2">XSPDIF_AES_STS_MC_CH_MODE_SHIFT</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Multichannel mode mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="ga71078825e28429294e0ff6bd6ac2f8aa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_MC_CH_MODE_NUM_MASK&#160;&#160;&#160;(0x7 &lt;&lt; XSPDIF_AES_STS_MC_CH_MODE_NUM_SHIFT)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Multichannel mode number mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="gab3f43f893c92dc38fd08b6d5da55da5f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_MC_CH_MODE_NUM_SHIFT&#160;&#160;&#160;(4)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Multichannel mode number bit shift. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="gae936b4e2dc69b44f9cb55e2797986de2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_MC_CH_MODE_SHIFT&#160;&#160;&#160;(7)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Multichannel mode bit shift. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="gac781e3060f6f281ddf4c2fb609b62941"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_RELIABLE_FLAGS_OFFSET&#160;&#160;&#160;(22)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reliability flags bit shift. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="gaef6674a7adc5e3901805f0eda7a383db"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_RSVD_BUT_UNDEF0_MASK&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#gab6bba951c11eb2f2d2f8d5fe360753c2">XSPDIF_AES_STS_RSVD_BUT_UNDEF0_SHIFT</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reserved but undefined (0) mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="gab6bba951c11eb2f2d2f8d5fe360753c2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_RSVD_BUT_UNDEF0_SHIFT&#160;&#160;&#160;(2)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reserved but undefined (0) bit shift. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="ga3e9765ab35955fdd6d60b9a38f525d55"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_RSVD_BUT_UNDEF1_MASK&#160;&#160;&#160;(0xFF &lt;&lt; XSPDIF_AES_STS_RSVD_BUT_UNDEF1_SHIFT)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reserved but undefined (1) mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="gabcb0798e16471a859ca87835b45d5ad2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_RSVD_BUT_UNDEF1_SHIFT&#160;&#160;&#160;(0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reserved but undefined (1) bit shift. </p>

</div>
</div>
<a class="anchor" id="gae3f756a9ed3e54825608b18794f9f151"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_SAMPLING_FREQ_E_MASK&#160;&#160;&#160;(0x3 &lt;&lt; XSPDIF_AES_STS_SAMPLING_FREQ_E_SHIFT)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sampling Frequency 0 mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf8023c98dcc18afc76163ac2a87c0852"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_SAMPLING_FREQ_E_SHIFT&#160;&#160;&#160;(6)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sampling Frequency 0 bit shift. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="gad18a50ce2817a5141e4219b632b6881b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_SAMPLING_FREQ_Q_MASK&#160;&#160;&#160;(0xF &lt;&lt; XSPDIF_AES_STS_SAMPLING_FREQ_Q_SHIFT)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sampling Frequency (1) mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="gae7f4f7367ab6da14a4bbbf1e9b372f8b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_SAMPLING_FREQ_Q_SHIFT&#160;&#160;&#160;(3)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sampling Frequency (1) bit shift. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="gad2b5f2028540d8dfdbd282a441e6d2de"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_SAMPLING_FREQ_SCALE_FLAG_MASK&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#gac7103e8d9208f958e09758d8a6ec2d72">XSPDIF_AES_STS_SAMPLING_FREQ_SCALE_FLAG_SHIFT</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sampling Frequency scaling flag mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="gac7103e8d9208f958e09758d8a6ec2d72"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_SAMPLING_FREQ_SCALE_FLAG_SHIFT&#160;&#160;&#160;(7)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sampling Frequency scaling flag bit shift. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="gac20878460c7db74344ed1945dd91a8f2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_SRC_WORD_LENGTH_MASK&#160;&#160;&#160;(0x7 &lt;&lt; XSPDIF_AES_STS_SRC_WORD_LENGTH_SHIFT)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Source word length mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf4518316d0057e6222413928d69848e7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_SRC_WORD_LENGTH_SHIFT&#160;&#160;&#160;(3)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Source word length bit shift. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="ga4a81a840355baee43ebbf6c912dbe895"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_TIMEOFDAY_SAMPLE_ADDRCODE_OFFSET&#160;&#160;&#160;(18)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Time-of-day sample address code register(s) offset. </p>

</div>
</div>
<a class="anchor" id="ga037137493b39c8d16d47305e8d612630"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_USE_OF_CH_STS_BLK_MASK&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#gacd17567243b30f06696ebb08c7b52a68">XSPDIF_AES_STS_USE_OF_CH_STS_BLK_SHIFT</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Use of Channel Status Block mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="gacd17567243b30f06696ebb08c7b52a68"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_USE_OF_CH_STS_BLK_SHIFT&#160;&#160;&#160;(0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Use of Channel Status Block bit shift. </p>

</div>
</div>
<a class="anchor" id="ga5e74a60c3a3fde81331ee465f97028fc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_USEOF_AUX_SMPL_BITS_MASK&#160;&#160;&#160;(0x7 &lt;&lt; XSPDIF_AES_STS_USEOF_AUX_SMPL_BITS_SHIFT)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Use of Auxiliary sample bits mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7a35f428d74dee311f07222151ac580c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_USEOF_AUX_SMPL_BITS_SHIFT&#160;&#160;&#160;(0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Use of auxiliary sample bits bit shift. </p>

</div>
</div>
<a class="anchor" id="ga0d28b61ccb94c9c1a0ab10a5b4dc1061"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_USR_BITS_MGMT_MASK&#160;&#160;&#160;(0xF &lt;&lt; XSPDIF_AES_STS_USR_BITS_MGMT_SHIFT)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>User Bits Management mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="ga4f8b4daecaa31b4d2c8fa678e12d6fcc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_AES_STS_USR_BITS_MGMT_SHIFT&#160;&#160;&#160;(4)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>User Bits Management bit shift. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaa51d2927e959df0556c24e2f85d58d7a">XSpdif_Decode_ChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="gaa68d454f0f8827129c0ec744fbf3138f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_BMC_ERROR_MASK&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#gacac3ea9e141b8c41d6af146219a01ee2">XSPDIF_BMC_ERROR_SHIFT</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>BMC Error Interrupt bit mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#ga6174ad5a016d53a99ddd0b41d0f22377">XSpdif_IntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="gacac3ea9e141b8c41d6af146219a01ee2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_BMC_ERROR_SHIFT&#160;&#160;&#160;(3)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>BMC Error Interrupt bit shift. </p>

</div>
</div>
<a class="anchor" id="ga657a7152cbcaf8adee25c4dc9fb6f299"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_CHANNEL_A_USER_DATA_REGISTER0_OFFSET&#160;&#160;&#160;0x64</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Channel A user data bits 0 to 31. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gab42041ee833dc5963d3d87f83bb05197">XSpdif_Rx_GetChA_UserData()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1711efa0e12d7e74ddfbc21e4ffd519d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_CHANNEL_B_USER_DATA_REGISTER0_OFFSET&#160;&#160;&#160;0x7C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Channel B user data bits 0 to 31. </p>

<p>Referenced by <a class="el" href="group__spdif.html#ga838302566560f7a0aeae1f154b2b615f">XSpdif_Rx_GetChB_UserData()</a>.</p>

</div>
</div>
<a class="anchor" id="ga52d7b2b64993516fbb98d29dd8878be6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_CHANNEL_STATUS_REGISTER0_OFFSET&#160;&#160;&#160;0x4C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Audio Channel Status bits 0 to 31. </p>

<p>Referenced by <a class="el" href="group__spdif.html#ga6cc58a923df8991119d2ae9d894b5225">XSpdif_Rx_GetChStat()</a>.</p>

</div>
</div>
<a class="anchor" id="ga8f58bf3843cffb58c16ba3c37b6f1a43"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_CLK_16&#160;&#160;&#160;16</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clock divide by 16. </p>

<p>Referenced by <a class="el" href="group__spdif.html#ga663de6a5b3129b9af53363b95ddd1c8c">XSpdif_SetClkConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="gacc90df3f63b69ba547aef9449439bdeb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_CLK_24&#160;&#160;&#160;24</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clock divide by 24. </p>

<p>Referenced by <a class="el" href="group__spdif.html#ga663de6a5b3129b9af53363b95ddd1c8c">XSpdif_SetClkConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="ga76f09af6af8a8a42a954d4f3c3b4ead1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_CLK_32&#160;&#160;&#160;32</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clock divide by 32. </p>

<p>Referenced by <a class="el" href="group__spdif.html#ga663de6a5b3129b9af53363b95ddd1c8c">XSpdif_SetClkConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="gab9e50bd11dea15481ab6f1c7d89083a8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_CLK_4&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clock divide by 4. </p>

<p>Referenced by <a class="el" href="group__spdif.html#ga663de6a5b3129b9af53363b95ddd1c8c">XSpdif_SetClkConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="ga2b1a583d97411e32ac6d37a13c749d0b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_CLK_48&#160;&#160;&#160;48</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clock divide by 48. </p>

<p>Referenced by <a class="el" href="group__spdif.html#ga663de6a5b3129b9af53363b95ddd1c8c">XSpdif_SetClkConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="ga4c885709bc23885156fa806853159a42"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_CLK_64&#160;&#160;&#160;64</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clock divide by 64. </p>

<p>Referenced by <a class="el" href="group__spdif.html#ga663de6a5b3129b9af53363b95ddd1c8c">XSpdif_SetClkConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="gae02f06715593696d6dd15f3a2428bfac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_CLK_8&#160;&#160;&#160;8</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clock divide by 8. </p>

<p>Referenced by <a class="el" href="group__spdif.html#ga663de6a5b3129b9af53363b95ddd1c8c">XSpdif_SetClkConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="ga69580f92443ed12502c008a1457fe1be"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_CLOCK_CONFIG_BITS_MASK&#160;&#160;&#160;((0xF) &lt;&lt; XSPDIF_CLOCK_CONFIG_BITS_SHIFT)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Is XSPDIF clock configuration bits mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#ga663de6a5b3129b9af53363b95ddd1c8c">XSpdif_SetClkConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="gac175833095028d13a1fb8704219cb01f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_CLOCK_CONFIG_BITS_SHIFT&#160;&#160;&#160;(2)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Is XSPDIF clock configuration bits shift. </p>

<p>Referenced by <a class="el" href="group__spdif.html#ga663de6a5b3129b9af53363b95ddd1c8c">XSpdif_SetClkConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="ga2fc47b801ec55e2dd7bcebb2bf117422"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_CONTROL_REGISTER_OFFSET&#160;&#160;&#160;0x44</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Control Register. </p>

<p>Referenced by <a class="el" href="group__spdif.html#ga1c7b903ef4c7052aa0f3b11350946594">XSpdif_Enable()</a>, <a class="el" href="group__spdif.html#gabe3f017617a1beda897955974c20fc9d">XSpdif_ResetFifo()</a>, and <a class="el" href="group__spdif.html#ga663de6a5b3129b9af53363b95ddd1c8c">XSpdif_SetClkConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="ga6c809f933049ee2d66fb43f023c3bb32"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_CORE_ENABLE_MASK&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#ga14a20b080d40043f2e576a964ea7d703">XSPDIF_CORE_ENABLE_SHIFT</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Is XSPDIF Core Enable bit mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#ga1c7b903ef4c7052aa0f3b11350946594">XSpdif_Enable()</a>, and <a class="el" href="group__spdif.html#gabe3f017617a1beda897955974c20fc9d">XSpdif_ResetFifo()</a>.</p>

</div>
</div>
<a class="anchor" id="ga14a20b080d40043f2e576a964ea7d703"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_CORE_ENABLE_SHIFT&#160;&#160;&#160;(0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Is XSPDIF Core Enable bit shift. </p>

</div>
</div>
<a class="anchor" id="ga44d793540b399f583b32940d41614389"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_FIFO_FLUSH_MASK&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#gab233d15fdfb78d5162efc06e57a706c6">XSPDIF_FIFO_FLUSH_SHIFT</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Is XSPDIF Reset FIFO bit mask. </p>

</div>
</div>
<a class="anchor" id="gab233d15fdfb78d5162efc06e57a706c6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_FIFO_FLUSH_SHIFT&#160;&#160;&#160;(1)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Is XSPDIF Reset FIFO bit shift. </p>

</div>
</div>
<a class="anchor" id="gad0e21f07fb89aa3b362e4083ca5630dd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_GINTR_ENABLE_MASK&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#gad16dc8a77dde55e1265c9a1f5b09d459">XSPDIF_GINTR_ENABLE_SHIFT</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Global interrupt enable bit mask. </p>

</div>
</div>
<a class="anchor" id="gad16dc8a77dde55e1265c9a1f5b09d459"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_GINTR_ENABLE_SHIFT&#160;&#160;&#160;(31)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Global interrupt enable bit shift. </p>

</div>
</div>
<a class="anchor" id="ga54e62f082a103141123492ce62a09a44"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_GLOBAL_INTERRUPT_ENABLE_OFFSET&#160;&#160;&#160;0x1C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Device Global interrupt enable register. </p>

</div>
</div>
<a class="anchor" id="gac83864972173c1015d34ed8020bf634c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSpdif_In32&#160;&#160;&#160;Xil_In32</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Input Operations. </p>

</div>
</div>
<a class="anchor" id="ga2e873c24b76b1f0c5ea5e2067fe96127"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_INTERRUPT_ENABLE_REGISTER_OFFSET&#160;&#160;&#160;0x28</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>IP interrupt enable Register. </p>

<p>Referenced by <a class="el" href="group__spdif.html#ga6174ad5a016d53a99ddd0b41d0f22377">XSpdif_IntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="gafecdc424bebe7cf1f779fc5d479c48c3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_INTERRUPT_STATUS_REGISTER_OFFSET&#160;&#160;&#160;0x20</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>IP Interrupt Status Register. </p>

<p>Referenced by <a class="el" href="group__spdif.html#ga6174ad5a016d53a99ddd0b41d0f22377">XSpdif_IntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="gaed24ea3d35e70dcda7745d333425cd1c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSpdif_Out32&#160;&#160;&#160;Xil_Out32</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Output Operations. </p>

</div>
</div>
<a class="anchor" id="ga4a060f08a718b7727555715810fb6caf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_PREAMBLE_ERROR_MASK&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#ga50e1fd9807c67cd494b043712940edb6">XSPDIF_PREAMBLE_ERROR_SHIFT</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Preamble error Interrupt bit mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#ga6174ad5a016d53a99ddd0b41d0f22377">XSpdif_IntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga50e1fd9807c67cd494b043712940edb6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_PREAMBLE_ERROR_SHIFT&#160;&#160;&#160;(4)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Preamble error Interrupt bit shift. </p>

</div>
</div>
<a class="anchor" id="ga8a5504bdf152f4699dda951a971b5ce5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSpdif_ReadReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">RegOffset&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;<a class="el" href="group__spdif.html#gac83864972173c1015d34ed8020bf634c">XSpdif_In32</a>((BaseAddress) + ((u32)RegOffset))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This macro reads a value from a <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> register. </p>
<p>A 32 bit read is performed. If the component is implemented in a smaller width, only the least significant data is read from the register. The most significant data will be read as 0.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the base address of the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> core instance. </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset of the register (defined at the top of this file).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The 32-bit value of the register.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: u32 <a class="el" href="group__spdif.html#ga8a5504bdf152f4699dda951a971b5ce5" title="This macro reads a value from a XSpdif register. ">XSpdif_ReadReg(u32 BaseAddress, u32 RegOffset)</a> </dd></dl>

<p>Referenced by <a class="el" href="group__spdif.html#ga1c7b903ef4c7052aa0f3b11350946594">XSpdif_Enable()</a>, <a class="el" href="group__spdif.html#gaf65b0871fbd61f85bff84b47ab5fc397">XSpdif_GetFs()</a>, <a class="el" href="group__spdif.html#ga6174ad5a016d53a99ddd0b41d0f22377">XSpdif_IntrHandler()</a>, <a class="el" href="group__spdif.html#gabe3f017617a1beda897955974c20fc9d">XSpdif_ResetFifo()</a>, <a class="el" href="group__spdif.html#gab42041ee833dc5963d3d87f83bb05197">XSpdif_Rx_GetChA_UserData()</a>, <a class="el" href="group__spdif.html#ga838302566560f7a0aeae1f154b2b615f">XSpdif_Rx_GetChB_UserData()</a>, <a class="el" href="group__spdif.html#ga6cc58a923df8991119d2ae9d894b5225">XSpdif_Rx_GetChStat()</a>, and <a class="el" href="group__spdif.html#ga663de6a5b3129b9af53363b95ddd1c8c">XSpdif_SetClkConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="ga20f9c3bca0884af7fdfa9bf0c5f2d86f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_SAMPLE_CLOCK_COUNT_MASK&#160;&#160;&#160;((0X3FF) &lt;&lt; XSPDIF_SAMPLE_CLOCK_COUNT_SHIFT)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>XSPDIF sample clock count mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaf65b0871fbd61f85bff84b47ab5fc397">XSpdif_GetFs()</a>.</p>

</div>
</div>
<a class="anchor" id="ga964ad8ea66a86a6ce4c7cf7ff2450dde"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_SAMPLE_CLOCK_COUNT_SHIFT&#160;&#160;&#160;(0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>XSPDIF sample clock count shift. </p>

</div>
</div>
<a class="anchor" id="gafcc4d1467e4b02bb63d8ed3ca103c384"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_SOFT_RESET_REGISTER_OFFSET&#160;&#160;&#160;0x40</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Soft Reset Register. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gae803b59eab34cf53ffcfb147b367f88f">XSpdif_SoftReset()</a>.</p>

</div>
</div>
<a class="anchor" id="gae87580b959a0579a9af0c02345037704"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_SOFT_RESET_REGISTER_VALUE&#160;&#160;&#160;0X0A</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Soft Reset Register value to reset. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gae803b59eab34cf53ffcfb147b367f88f">XSpdif_SoftReset()</a>.</p>

</div>
</div>
<a class="anchor" id="ga85ffec35bf477ccfe1e0cfc949ff7b26"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_START_OF_BLOCK_MASK&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#ga0480d1e28525b52c86770476d5199ea8">XSPDIF_START_OF_BLOCK_SHIFT</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transmitter or Receiver FIFO Full Interrupt bit shift. </p>

<p>Referenced by <a class="el" href="group__spdif.html#ga6174ad5a016d53a99ddd0b41d0f22377">XSpdif_IntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga0480d1e28525b52c86770476d5199ea8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_START_OF_BLOCK_SHIFT&#160;&#160;&#160;(2)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Start of Block Interrupt bit mask ( in Receive mode) </p>

</div>
</div>
<a class="anchor" id="ga0dcf2448b7e5e551ec1989723967e4b9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_STATUS_REGISTER_OFFSET&#160;&#160;&#160;0x48</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Status Register. </p>

<p>Referenced by <a class="el" href="group__spdif.html#gaf65b0871fbd61f85bff84b47ab5fc397">XSpdif_GetFs()</a>.</p>

</div>
</div>
<a class="anchor" id="ga01764f0f8e04b295b8ec379e1c039190"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_TX_OR_RX_FIFO_EMPTY_MASK&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#gade30ebd0405e416cd787ad39b6f3c1cc">XSPDIF_TX_OR_RX_FIFO_EMPTY_SHIFT</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transmitter or Receiver FIFO Empty Interrupt bit mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#ga6174ad5a016d53a99ddd0b41d0f22377">XSpdif_IntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="gade30ebd0405e416cd787ad39b6f3c1cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_TX_OR_RX_FIFO_EMPTY_SHIFT&#160;&#160;&#160;(1)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transmitter or Receiver FIFO Empty Interrupt bit shift. </p>

</div>
</div>
<a class="anchor" id="gabe00ee416b556177d910c3e17fb9e873"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_TX_OR_RX_FIFO_FULL_MASK&#160;&#160;&#160;(1 &lt;&lt; <a class="el" href="group__spdif.html#ga1d9df862b59ee96e3e02de1aae228086">XSPDIF_TX_OR_RX_FIFO_FULL_SHIFT</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transmitter or Receiver FIFO Full Interrupt bit mask. </p>

<p>Referenced by <a class="el" href="group__spdif.html#ga6174ad5a016d53a99ddd0b41d0f22377">XSpdif_IntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1d9df862b59ee96e3e02de1aae228086"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSPDIF_TX_OR_RX_FIFO_FULL_SHIFT&#160;&#160;&#160;(0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transmitter or Receiver FIFO Full Interrupt bit shift. </p>

</div>
</div>
<a class="anchor" id="ga315b6c9b02574277d0f5e66f6bb55888"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSpdif_WriteReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">RegOffset, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Data&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;<a class="el" href="group__spdif.html#gaed24ea3d35e70dcda7745d333425cd1c">XSpdif_Out32</a>((BaseAddress) + ((u32)RegOffset), (u32)(Data))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This macro writes a value to a <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> register. </p>
<p>A 32 bit write is performed. If the component is implemented in a smaller width, only the least significant data is written.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the base address of the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> core instance. </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset of the register (defined at the top of this file) to be written. </td></tr>
    <tr><td class="paramname">Data</td><td>is the 32-bit value to write into the register.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__spdif.html#ga315b6c9b02574277d0f5e66f6bb55888" title="This macro writes a value to a XSpdif register. ">XSpdif_WriteReg(u32 BaseAddress, u32 RegOffset, u32 Data)</a> </dd></dl>

<p>Referenced by <a class="el" href="group__spdif.html#ga1c7b903ef4c7052aa0f3b11350946594">XSpdif_Enable()</a>, <a class="el" href="group__spdif.html#gabe3f017617a1beda897955974c20fc9d">XSpdif_ResetFifo()</a>, <a class="el" href="group__spdif.html#ga663de6a5b3129b9af53363b95ddd1c8c">XSpdif_SetClkConfig()</a>, and <a class="el" href="group__spdif.html#gae803b59eab34cf53ffcfb147b367f88f">XSpdif_SoftReset()</a>.</p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ga89f9c5e6c1465be8b05d5658df31ab66"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* XSpdif_Callback)(void *CallbackRef)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Callback function data type for handling interrupt requests from the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> peripheral. </p>
<p>The application using this driver is expected to define a handler of this type to support interrupt driven mode. The handler is called in an interrupt context such that minimal processing should be performed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallBackRef</td><td>is a callback reference passed in by the upper layer when setting the callback functions, and passed back to the upper layer when the callback is invoked.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ga940a3713eec742adfc1a3e29c4b15380"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__spdif.html#ga940a3713eec742adfc1a3e29c4b15380">XSpdif_HandlerType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>These constants specify different types of handlers and is used to differentiate interrupt requests from the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> peripheral. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="gga940a3713eec742adfc1a3e29c4b15380aa6ea099c732a106ff5a8065575c8d804"></a>XSPDIF_HANDLER_TX_OR_RX_FIFO_FULL</em>&nbsp;</td><td class="fielddoc">
<p>Transmitter or Receiver FIFO Full Handler. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga940a3713eec742adfc1a3e29c4b15380a1857cc8bbe2625f1fb4cb7bc3235a03a"></a>XSPDIF_HANDLER_TX_OR_RX_FIFO_EMPTY</em>&nbsp;</td><td class="fielddoc">
<p>Transmitter or Receiver FIFO Empty Handler. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga940a3713eec742adfc1a3e29c4b15380a5fa88a88168c2940c70738fef4e98e44"></a>XSPDIF_HANDLER_START_OF_BLOCK</em>&nbsp;</td><td class="fielddoc">
<p>Start of Block Handler. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga940a3713eec742adfc1a3e29c4b15380ae76aadd852b550320abf9c70c11c9edf"></a>XSPDIF_HANDLER_BMC_ERROR</em>&nbsp;</td><td class="fielddoc">
<p>BMC error. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga940a3713eec742adfc1a3e29c4b15380a667ba4ab02ca92b8018394b5b83ba071"></a>XSPDIF_HANDLER_PREAMBLE_ERROR</em>&nbsp;</td><td class="fielddoc">
<p>Preamble error. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga940a3713eec742adfc1a3e29c4b15380a6dcf2c3d86bf599fd9d9765924c400d9"></a>XSPDIF_NUM_HANDLERS</em>&nbsp;</td><td class="fielddoc">
<p>Number of handler types. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga0fd1a9a8dba71df82291f9d0307366a3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XSpdif_CfgInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_spdif.html">XSpdif</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_spdif___config.html">XSpdif_Config</a> *&#160;</td>
          <td class="paramname"><em>CfgPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>EffectiveAddr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function initializes the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a>. </p>
<p>This function must be called prior to using the core. Initialization of the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> includes setting up the instance data, and ensuring the hardware is in a quiescent state.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> instance. </td></tr>
    <tr><td class="paramname">CfgPtr</td><td>points to the configuration structure associated with the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a>. </td></tr>
    <tr><td class="paramname">EffectiveAddr</td><td>is the base address of the device. If address translation is being used, then this parameter must reflect the virtual base address. Otherwise, the physical address should be used.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS : if successful.</li>
<li>XST_FAILURE : if version mismatched.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_spdif___config.html#acdcb872d4328715153ab3ccd5ef44e09">XSpdif_Config::BaseAddress</a>, <a class="el" href="struct_x_spdif.html#a067162378b1d3419846e343962d2ce0f">XSpdif::Config</a>, <a class="el" href="struct_x_spdif.html#a29ca7bc4583f440ed962a38bfae1efc8">XSpdif::IsReady</a>, and <a class="el" href="group__spdif.html#ga1c7b903ef4c7052aa0f3b11350946594">XSpdif_Enable()</a>.</p>

<p>Referenced by <a class="el" href="xspdif__selftest__example_8c.html#ae18d28ead103245781ba10110df843a5">SpdifSelfTestExample()</a>, and <a class="el" href="group__spdif.html#ga230c28eb5e576f848368c41213997d0a">XSpdif_Initialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gaa51d2927e959df0556c24e2f85d58d7a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSpdif_Decode_ChStat </td>
          <td>(</td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Spdif_SrcBuf</em>[24]</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function reads the array i.e. </p>
<p>Spdif_SrcBuffer which has the values of all the six Spdif AES status registers, extracts the required bits and displays them. Note: Call XSpdif_Rx_GetChStat API before calling XSpdif_Decode_ChStat API</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Spdif_SrcBuf</td><td>is an array that contains the values of all the the AES Status registers.It contains 24 bytes i.e. 192 status bits. </td></tr>
  </table>
  </dd>
</dl>
<p>&lt; use of channel status block</p>
<p>&lt; linear PCM identification</p>
<p>&lt; audio signal Pre-emphasis</p>
<p>&lt; lock indication</p>
<p>&lt; sampling frequency</p>
<p>&lt; channel mode</p>
<p>&lt; user bits management</p>
<p>&lt; use of auxiliary sample bits</p>
<p>&lt; source word length</p>
<p>&lt; indication of alignment level</p>
<p>&lt; channel mode</p>
<p>&lt; Channel number 0</p>
<p>&lt; Channel number 1</p>
<p>&lt; multi channel1 mode number</p>
<p>&lt; digital audio reference signal</p>
<p>&lt; reserved but undefined</p>
<p>&lt; sampling frequency</p>
<p>&lt; sampling frequency scaling flag</p>
<p>&lt; reserved but undefined</p>
<p>&lt; Alphanumeric channel origin data</p>
<p>&lt; Alphanumeric channel destination data</p>
<p>&lt; Local sample address code</p>
<p>&lt; Time-of-day sample address code</p>
<p>&lt; Reliability flags</p>
<p>&lt; Cyclic redundancy check character </p>

<p>References <a class="el" href="group__spdif.html#gadbb9d31148b71d737e51021aa90986d2">XSPDIF_AES_STS_AUDIO_SIG_PRE_EMPH_MASK</a>, <a class="el" href="group__spdif.html#ga31d37e948304527fc7f2805c12beaa5d">XSPDIF_AES_STS_AUDIO_SIG_PRE_EMPH_SHIFT</a>, <a class="el" href="group__spdif.html#ga61d1c6757b6483b6364af7ddbe2e0b92">XSPDIF_AES_STS_CH_MODE_MASK</a>, <a class="el" href="group__spdif.html#gad1c4ea06eaf4dc86db223a2b0ca5ec02">XSPDIF_AES_STS_CH_NUM0_MASK</a>, <a class="el" href="group__spdif.html#ga2d2322d01a917e1c615a6c61ca1abf51">XSPDIF_AES_STS_CH_NUM1_MASK</a>, <a class="el" href="group__spdif.html#ga14d044656cba232d7178da66be8f6074">XSPDIF_AES_STS_CRC_CHAR_OFFSET</a>, <a class="el" href="group__spdif.html#gacdf0421f14eede57f958994ee05b07bc">XSPDIF_AES_STS_DIGITAL_AUDIO_REF_SIG_MASK</a>, <a class="el" href="group__spdif.html#ga312051807586273423b084606b9e40ae">XSPDIF_AES_STS_DIGITAL_AUDIO_REF_SIG_SHIFT</a>, <a class="el" href="group__spdif.html#ga48bed09f27ff0d6d80a53e8c74defde3">XSPDIF_AES_STS_INDICATE_ALIGN_LEVEL_MASK</a>, <a class="el" href="group__spdif.html#gacf671c2b22efd7086a6d02720bdb6e1b">XSPDIF_AES_STS_INDICATE_ALIGN_LEVEL_SHIFT</a>, <a class="el" href="group__spdif.html#ga9c214675f7ddf66a51bb87f36266b620">XSPDIF_AES_STS_LINEAR_PCM_ID_MASK</a>, <a class="el" href="group__spdif.html#ga567bced0ad2be4f7a01ddf89b999f915">XSPDIF_AES_STS_LINEAR_PCM_ID_SHIFT</a>, <a class="el" href="group__spdif.html#gac73a0ee6d535b3a0e02774b564bae998">XSPDIF_AES_STS_LOCK_INDICATION_MASK</a>, <a class="el" href="group__spdif.html#ga326786a673b55daf8b3f68050167481f">XSPDIF_AES_STS_LOCK_INDICATION_SHIFT</a>, <a class="el" href="group__spdif.html#ga8c6574f10f4ddf3191739f2a65e41fff">XSPDIF_AES_STS_MC_CH_MODE_MASK</a>, <a class="el" href="group__spdif.html#ga71078825e28429294e0ff6bd6ac2f8aa">XSPDIF_AES_STS_MC_CH_MODE_NUM_MASK</a>, <a class="el" href="group__spdif.html#gab3f43f893c92dc38fd08b6d5da55da5f">XSPDIF_AES_STS_MC_CH_MODE_NUM_SHIFT</a>, <a class="el" href="group__spdif.html#gae936b4e2dc69b44f9cb55e2797986de2">XSPDIF_AES_STS_MC_CH_MODE_SHIFT</a>, <a class="el" href="group__spdif.html#gac781e3060f6f281ddf4c2fb609b62941">XSPDIF_AES_STS_RELIABLE_FLAGS_OFFSET</a>, <a class="el" href="group__spdif.html#gaef6674a7adc5e3901805f0eda7a383db">XSPDIF_AES_STS_RSVD_BUT_UNDEF0_MASK</a>, <a class="el" href="group__spdif.html#gab6bba951c11eb2f2d2f8d5fe360753c2">XSPDIF_AES_STS_RSVD_BUT_UNDEF0_SHIFT</a>, <a class="el" href="group__spdif.html#ga3e9765ab35955fdd6d60b9a38f525d55">XSPDIF_AES_STS_RSVD_BUT_UNDEF1_MASK</a>, <a class="el" href="group__spdif.html#gae3f756a9ed3e54825608b18794f9f151">XSPDIF_AES_STS_SAMPLING_FREQ_E_MASK</a>, <a class="el" href="group__spdif.html#gaf8023c98dcc18afc76163ac2a87c0852">XSPDIF_AES_STS_SAMPLING_FREQ_E_SHIFT</a>, <a class="el" href="group__spdif.html#gad18a50ce2817a5141e4219b632b6881b">XSPDIF_AES_STS_SAMPLING_FREQ_Q_MASK</a>, <a class="el" href="group__spdif.html#gae7f4f7367ab6da14a4bbbf1e9b372f8b">XSPDIF_AES_STS_SAMPLING_FREQ_Q_SHIFT</a>, <a class="el" href="group__spdif.html#gad2b5f2028540d8dfdbd282a441e6d2de">XSPDIF_AES_STS_SAMPLING_FREQ_SCALE_FLAG_MASK</a>, <a class="el" href="group__spdif.html#gac7103e8d9208f958e09758d8a6ec2d72">XSPDIF_AES_STS_SAMPLING_FREQ_SCALE_FLAG_SHIFT</a>, <a class="el" href="group__spdif.html#gac20878460c7db74344ed1945dd91a8f2">XSPDIF_AES_STS_SRC_WORD_LENGTH_MASK</a>, <a class="el" href="group__spdif.html#gaf4518316d0057e6222413928d69848e7">XSPDIF_AES_STS_SRC_WORD_LENGTH_SHIFT</a>, <a class="el" href="group__spdif.html#ga037137493b39c8d16d47305e8d612630">XSPDIF_AES_STS_USE_OF_CH_STS_BLK_MASK</a>, <a class="el" href="group__spdif.html#ga5e74a60c3a3fde81331ee465f97028fc">XSPDIF_AES_STS_USEOF_AUX_SMPL_BITS_MASK</a>, <a class="el" href="group__spdif.html#ga0d28b61ccb94c9c1a0ab10a5b4dc1061">XSPDIF_AES_STS_USR_BITS_MGMT_MASK</a>, and <a class="el" href="group__spdif.html#ga4f8b4daecaa31b4d2c8fa678e12d6fcc">XSPDIF_AES_STS_USR_BITS_MGMT_SHIFT</a>.</p>

</div>
</div>
<a class="anchor" id="ga1c7b903ef4c7052aa0f3b11350946594"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSpdif_Enable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_spdif.html">XSpdif</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Enable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function enables/disables the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> instance. </td></tr>
    <tr><td class="paramname">Enable</td><td>specifies TRUE/FALSE value to either enable or disable the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_spdif___config.html#acdcb872d4328715153ab3ccd5ef44e09">XSpdif_Config::BaseAddress</a>, <a class="el" href="struct_x_spdif.html#a067162378b1d3419846e343962d2ce0f">XSpdif::Config</a>, <a class="el" href="struct_x_spdif.html#ad5c4744b9e4947f80e431a6ab5f13510">XSpdif::IsStarted</a>, <a class="el" href="group__spdif.html#ga2fc47b801ec55e2dd7bcebb2bf117422">XSPDIF_CONTROL_REGISTER_OFFSET</a>, <a class="el" href="group__spdif.html#ga6c809f933049ee2d66fb43f023c3bb32">XSPDIF_CORE_ENABLE_MASK</a>, <a class="el" href="group__spdif.html#ga8a5504bdf152f4699dda951a971b5ce5">XSpdif_ReadReg</a>, and <a class="el" href="group__spdif.html#ga315b6c9b02574277d0f5e66f6bb55888">XSpdif_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="group__spdif.html#ga0fd1a9a8dba71df82291f9d0307366a3">XSpdif_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf65b0871fbd61f85bff84b47ab5fc397"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XSpdif_GetFs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_spdif.html">XSpdif</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>AudClk</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function calculates the Sampling Frequency (Fs) and returns it's value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> instance. </td></tr>
    <tr><td class="paramname">AudClk</td><td>is the audio clock frequency value in Hz.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>- Returns the sampling frequency value in Hz. </dd></dl>

<p>References <a class="el" href="struct_x_spdif___config.html#acdcb872d4328715153ab3ccd5ef44e09">XSpdif_Config::BaseAddress</a>, <a class="el" href="struct_x_spdif.html#a067162378b1d3419846e343962d2ce0f">XSpdif::Config</a>, <a class="el" href="group__spdif.html#ga8a5504bdf152f4699dda951a971b5ce5">XSpdif_ReadReg</a>, <a class="el" href="group__spdif.html#ga20f9c3bca0884af7fdfa9bf0c5f2d86f">XSPDIF_SAMPLE_CLOCK_COUNT_MASK</a>, and <a class="el" href="group__spdif.html#ga0dcf2448b7e5e551ec1989723967e4b9">XSPDIF_STATUS_REGISTER_OFFSET</a>.</p>

</div>
</div>
<a class="anchor" id="ga230c28eb5e576f848368c41213997d0a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XSpdif_Initialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_spdif.html">XSpdif</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>DeviceId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initializes a specific Xspdif instance such that the driver is ready to use. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> instance to be worked on. </td></tr>
    <tr><td class="paramname">DeviceId</td><td>is the unique id of the device controlled by this <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> instance. Passing in a device id associates the generic <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> instance to a specific device, as chosen by the caller or application developer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful.</li>
<li>XST_DEVICE_NOT_FOUND if the device was not found in the configuration such that initialization could not be accomplished.</li>
<li>XST_FAILURE if version mismatched </li>
</ul>
</dd></dl>

<p>References <a class="el" href="struct_x_spdif___config.html#acdcb872d4328715153ab3ccd5ef44e09">XSpdif_Config::BaseAddress</a>, <a class="el" href="group__spdif.html#ga0fd1a9a8dba71df82291f9d0307366a3">XSpdif_CfgInitialize()</a>, and <a class="el" href="group__spdif.html#gadd37f55413da6f509988297561746c98">XSpdif_LookupConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="ga6174ad5a016d53a99ddd0b41d0f22377"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSpdif_IntrHandler </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is the interrupt handler for the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> driver. </p>
<p>This handler reads the pending interrupt from the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> peripheral, determines the source of the interrupts, clears the interrupts and calls call backs accordingly.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_spdif___config.html#acdcb872d4328715153ab3ccd5ef44e09">XSpdif_Config::BaseAddress</a>, <a class="el" href="struct_x_spdif.html#a59c27ef158bff34e4e1d90c21fa25bd9">XSpdif::BmcErrHandler</a>, <a class="el" href="struct_x_spdif.html#a7ac918a9de6f2ea99fca5923c4df3373">XSpdif::BmcErrHandlerRef</a>, <a class="el" href="struct_x_spdif.html#a067162378b1d3419846e343962d2ce0f">XSpdif::Config</a>, <a class="el" href="struct_x_spdif.html#a29ca7bc4583f440ed962a38bfae1efc8">XSpdif::IsReady</a>, <a class="el" href="struct_x_spdif.html#a24288d8cb6d3fb0d73ffb1321c71f432">XSpdif::PreambleErrHandler</a>, <a class="el" href="struct_x_spdif.html#aa3b36234a22b83ffba8973799dbe127e">XSpdif::PreambleErrHandlerRef</a>, <a class="el" href="struct_x_spdif.html#adba3c3d49cb76c5b4a98f0669f3d7962">XSpdif::StartOfBlockHandler</a>, <a class="el" href="struct_x_spdif.html#a72b3a2640c7e38a1400642e1036877ca">XSpdif::StartOfBlockHandlerRef</a>, <a class="el" href="struct_x_spdif.html#aeb09c843028e244f2dad763ab79b7f0f">XSpdif::TxOrRxFifoEmptyHandler</a>, <a class="el" href="struct_x_spdif.html#a89e14e9b80c238c9203defbd1ff36bac">XSpdif::TxOrRxFifoEmptyHandlerRef</a>, <a class="el" href="struct_x_spdif.html#a11244bc2859196c1a9a7e1bbe22a8952">XSpdif::TxOrRxFifoFullHandler</a>, <a class="el" href="struct_x_spdif.html#ad6d4d0e57f4f7dccc7aa0f3fb05d3cf9">XSpdif::TxOrRxFifoFullHandlerRef</a>, <a class="el" href="group__spdif.html#gaa68d454f0f8827129c0ec744fbf3138f">XSPDIF_BMC_ERROR_MASK</a>, <a class="el" href="group__spdif.html#ga2e873c24b76b1f0c5ea5e2067fe96127">XSPDIF_INTERRUPT_ENABLE_REGISTER_OFFSET</a>, <a class="el" href="group__spdif.html#gafecdc424bebe7cf1f779fc5d479c48c3">XSPDIF_INTERRUPT_STATUS_REGISTER_OFFSET</a>, <a class="el" href="group__spdif.html#ga4a060f08a718b7727555715810fb6caf">XSPDIF_PREAMBLE_ERROR_MASK</a>, <a class="el" href="group__spdif.html#ga8a5504bdf152f4699dda951a971b5ce5">XSpdif_ReadReg</a>, <a class="el" href="group__spdif.html#ga85ffec35bf477ccfe1e0cfc949ff7b26">XSPDIF_START_OF_BLOCK_MASK</a>, <a class="el" href="group__spdif.html#ga01764f0f8e04b295b8ec379e1c039190">XSPDIF_TX_OR_RX_FIFO_EMPTY_MASK</a>, and <a class="el" href="group__spdif.html#gabe00ee416b556177d910c3e17fb9e873">XSPDIF_TX_OR_RX_FIFO_FULL_MASK</a>.</p>

</div>
</div>
<a class="anchor" id="gadd37f55413da6f509988297561746c98"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_spdif___config.html">XSpdif_Config</a> * XSpdif_LookupConfig </td>
          <td>(</td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>DeviceId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function returns a reference to an <a class="el" href="struct_x_spdif___config.html" title="This typedef contains configuration information for the XSpdif. ">XSpdif_Config</a> structure based on the core id, <em>DeviceId</em>. </p>
<p>The return value will refer to an entry in the device configuration table defined in the xspdif_g.c file.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DeviceId</td><td>is the unique core ID of the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> core for the lookup operation.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>returns a reference to a config record in the configuration table corresponding to <em>DeviceId</em>, or NULL if no match is found.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xspdif__selftest__example_8c.html#ae18d28ead103245781ba10110df843a5">SpdifSelfTestExample()</a>, and <a class="el" href="group__spdif.html#ga230c28eb5e576f848368c41213997d0a">XSpdif_Initialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gabe3f017617a1beda897955974c20fc9d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSpdif_ResetFifo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_spdif.html">XSpdif</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function resets the Fifo. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> instance. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_spdif___config.html#acdcb872d4328715153ab3ccd5ef44e09">XSpdif_Config::BaseAddress</a>, <a class="el" href="struct_x_spdif.html#a067162378b1d3419846e343962d2ce0f">XSpdif::Config</a>, <a class="el" href="group__spdif.html#ga2fc47b801ec55e2dd7bcebb2bf117422">XSPDIF_CONTROL_REGISTER_OFFSET</a>, <a class="el" href="group__spdif.html#ga6c809f933049ee2d66fb43f023c3bb32">XSPDIF_CORE_ENABLE_MASK</a>, <a class="el" href="group__spdif.html#ga8a5504bdf152f4699dda951a971b5ce5">XSpdif_ReadReg</a>, and <a class="el" href="group__spdif.html#ga315b6c9b02574277d0f5e66f6bb55888">XSpdif_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="gab42041ee833dc5963d3d87f83bb05197"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSpdif_Rx_GetChA_UserData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_spdif.html">XSpdif</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>ChA_UserDataBuf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function reads the Channel A user data and writes to a buffer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the XSPDIF instance. </td></tr>
    <tr><td class="paramname">ChA_UserDataBuf</td><td>is a pointer to a buffer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_spdif___config.html#acdcb872d4328715153ab3ccd5ef44e09">XSpdif_Config::BaseAddress</a>, <a class="el" href="struct_x_spdif.html#a067162378b1d3419846e343962d2ce0f">XSpdif::Config</a>, <a class="el" href="group__spdif.html#ga657a7152cbcaf8adee25c4dc9fb6f299">XSPDIF_CHANNEL_A_USER_DATA_REGISTER0_OFFSET</a>, and <a class="el" href="group__spdif.html#ga8a5504bdf152f4699dda951a971b5ce5">XSpdif_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga838302566560f7a0aeae1f154b2b615f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSpdif_Rx_GetChB_UserData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_spdif.html">XSpdif</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>ChB_UserDataBuf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function reads the Channel B user data and writes to a buffer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the XSPDIF instance. </td></tr>
    <tr><td class="paramname">ChB_UserDataBuf</td><td>is a pointer to a buffer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_spdif___config.html#acdcb872d4328715153ab3ccd5ef44e09">XSpdif_Config::BaseAddress</a>, <a class="el" href="struct_x_spdif.html#a067162378b1d3419846e343962d2ce0f">XSpdif::Config</a>, <a class="el" href="group__spdif.html#ga1711efa0e12d7e74ddfbc21e4ffd519d">XSPDIF_CHANNEL_B_USER_DATA_REGISTER0_OFFSET</a>, and <a class="el" href="group__spdif.html#ga8a5504bdf152f4699dda951a971b5ce5">XSpdif_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga6cc58a923df8991119d2ae9d894b5225"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSpdif_Rx_GetChStat </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_spdif.html">XSpdif</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>ChStatBuf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function reads all the Channel Status registers and writes to a buffer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> instance. </td></tr>
    <tr><td class="paramname">ChStatBuf</td><td>is a pointer to a buffer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_spdif___config.html#acdcb872d4328715153ab3ccd5ef44e09">XSpdif_Config::BaseAddress</a>, <a class="el" href="struct_x_spdif.html#a067162378b1d3419846e343962d2ce0f">XSpdif::Config</a>, <a class="el" href="group__spdif.html#ga52d7b2b64993516fbb98d29dd8878be6">XSPDIF_CHANNEL_STATUS_REGISTER0_OFFSET</a>, and <a class="el" href="group__spdif.html#ga8a5504bdf152f4699dda951a971b5ce5">XSpdif_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga663de6a5b3129b9af53363b95ddd1c8c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSpdif_SetClkConfig </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_spdif.html">XSpdif</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Clk_DivNum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the clock configuration bits. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the Spdif instance. </td></tr>
    <tr><td class="paramname">Clk_DivNum</td><td>is the clock division number. Clk_DivNum value can be only 4,8,16,24,32,48,or 64.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>-none </dd></dl>

<p>References <a class="el" href="struct_x_spdif___config.html#acdcb872d4328715153ab3ccd5ef44e09">XSpdif_Config::BaseAddress</a>, <a class="el" href="struct_x_spdif.html#a067162378b1d3419846e343962d2ce0f">XSpdif::Config</a>, <a class="el" href="group__spdif.html#ga8f58bf3843cffb58c16ba3c37b6f1a43">XSPDIF_CLK_16</a>, <a class="el" href="group__spdif.html#gacc90df3f63b69ba547aef9449439bdeb">XSPDIF_CLK_24</a>, <a class="el" href="group__spdif.html#ga76f09af6af8a8a42a954d4f3c3b4ead1">XSPDIF_CLK_32</a>, <a class="el" href="group__spdif.html#gab9e50bd11dea15481ab6f1c7d89083a8">XSPDIF_CLK_4</a>, <a class="el" href="group__spdif.html#ga2b1a583d97411e32ac6d37a13c749d0b">XSPDIF_CLK_48</a>, <a class="el" href="group__spdif.html#ga4c885709bc23885156fa806853159a42">XSPDIF_CLK_64</a>, <a class="el" href="group__spdif.html#gae02f06715593696d6dd15f3a2428bfac">XSPDIF_CLK_8</a>, <a class="el" href="group__spdif.html#ga69580f92443ed12502c008a1457fe1be">XSPDIF_CLOCK_CONFIG_BITS_MASK</a>, <a class="el" href="group__spdif.html#gac175833095028d13a1fb8704219cb01f">XSPDIF_CLOCK_CONFIG_BITS_SHIFT</a>, <a class="el" href="group__spdif.html#ga2fc47b801ec55e2dd7bcebb2bf117422">XSPDIF_CONTROL_REGISTER_OFFSET</a>, <a class="el" href="group__spdif.html#ga8a5504bdf152f4699dda951a971b5ce5">XSpdif_ReadReg</a>, and <a class="el" href="group__spdif.html#ga315b6c9b02574277d0f5e66f6bb55888">XSpdif_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="gaf97322a55fd92400b0f38a4f846c1d77"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XSpdif_SetHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_spdif.html">XSpdif</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__spdif.html#ga940a3713eec742adfc1a3e29c4b15380">XSpdif_HandlerType</a>&#160;</td>
          <td class="paramname"><em>HandlerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__spdif.html#ga89f9c5e6c1465be8b05d5658df31ab66">XSpdif_Callback</a>&#160;</td>
          <td class="paramname"><em>FuncPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallbackRef</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function installs an asynchronous callback function for the given HandlerType: </p>
<pre>
HandlerType                              Callback Function
--------------------------------         ----------------------------------
(XSPDIF_HANDLER_START_OF_BLOCK)          StartOfBlockHandler
(XSPDIF_HANDLE_PREAMBLE_ERROR)           PreambleErrHandler
(XSPDIF_HANDLE_BMC_ERROR)                   BmcErrHandler
(XSPDIF_HANDLER_TX_OR_RX_FIFO_EMPTY)     TxOrRxFifoEmptyHandler
(XSPDIF_HANDLER_TX_OR_RX_FIFO_FULL)         TxOrRxFifoFullHandler
</pre><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a> core instance. </td></tr>
    <tr><td class="paramname">HandlerType</td><td>specifies the type of handler. </td></tr>
    <tr><td class="paramname">FuncPtr</td><td>is a pointer to the callback function. </td></tr>
    <tr><td class="paramname">CallbackRef</td><td>is a reference pointer passed on actual calling of the callback function.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if callback function installed successfully.</li>
<li>XST_INVALID_PARAM when HandlerType is invalid.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Invoking this function for a handler that already has been installed replaces it with the new handler. </dd></dl>

<p>References <a class="el" href="struct_x_spdif.html#a59c27ef158bff34e4e1d90c21fa25bd9">XSpdif::BmcErrHandler</a>, <a class="el" href="struct_x_spdif.html#a7ac918a9de6f2ea99fca5923c4df3373">XSpdif::BmcErrHandlerRef</a>, <a class="el" href="struct_x_spdif.html#a24288d8cb6d3fb0d73ffb1321c71f432">XSpdif::PreambleErrHandler</a>, <a class="el" href="struct_x_spdif.html#aa3b36234a22b83ffba8973799dbe127e">XSpdif::PreambleErrHandlerRef</a>, <a class="el" href="struct_x_spdif.html#adba3c3d49cb76c5b4a98f0669f3d7962">XSpdif::StartOfBlockHandler</a>, <a class="el" href="struct_x_spdif.html#a72b3a2640c7e38a1400642e1036877ca">XSpdif::StartOfBlockHandlerRef</a>, <a class="el" href="struct_x_spdif.html#aeb09c843028e244f2dad763ab79b7f0f">XSpdif::TxOrRxFifoEmptyHandler</a>, <a class="el" href="struct_x_spdif.html#a89e14e9b80c238c9203defbd1ff36bac">XSpdif::TxOrRxFifoEmptyHandlerRef</a>, <a class="el" href="struct_x_spdif.html#a11244bc2859196c1a9a7e1bbe22a8952">XSpdif::TxOrRxFifoFullHandler</a>, <a class="el" href="struct_x_spdif.html#ad6d4d0e57f4f7dccc7aa0f3fb05d3cf9">XSpdif::TxOrRxFifoFullHandlerRef</a>, <a class="el" href="group__spdif.html#gga940a3713eec742adfc1a3e29c4b15380ae76aadd852b550320abf9c70c11c9edf">XSPDIF_HANDLER_BMC_ERROR</a>, <a class="el" href="group__spdif.html#gga940a3713eec742adfc1a3e29c4b15380a667ba4ab02ca92b8018394b5b83ba071">XSPDIF_HANDLER_PREAMBLE_ERROR</a>, <a class="el" href="group__spdif.html#gga940a3713eec742adfc1a3e29c4b15380a5fa88a88168c2940c70738fef4e98e44">XSPDIF_HANDLER_START_OF_BLOCK</a>, <a class="el" href="group__spdif.html#gga940a3713eec742adfc1a3e29c4b15380a1857cc8bbe2625f1fb4cb7bc3235a03a">XSPDIF_HANDLER_TX_OR_RX_FIFO_EMPTY</a>, <a class="el" href="group__spdif.html#gga940a3713eec742adfc1a3e29c4b15380aa6ea099c732a106ff5a8065575c8d804">XSPDIF_HANDLER_TX_OR_RX_FIFO_FULL</a>, and <a class="el" href="group__spdif.html#gga940a3713eec742adfc1a3e29c4b15380a6dcf2c3d86bf599fd9d9765924c400d9">XSPDIF_NUM_HANDLERS</a>.</p>

</div>
</div>
<a class="anchor" id="gae803b59eab34cf53ffcfb147b367f88f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSpdif_SoftReset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_spdif.html">XSpdif</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is used to soft reset the interrupt registers. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the XSPDIF instance. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_spdif___config.html#acdcb872d4328715153ab3ccd5ef44e09">XSpdif_Config::BaseAddress</a>, <a class="el" href="struct_x_spdif.html#a067162378b1d3419846e343962d2ce0f">XSpdif::Config</a>, <a class="el" href="group__spdif.html#gafcc4d1467e4b02bb63d8ed3ca103c384">XSPDIF_SOFT_RESET_REGISTER_OFFSET</a>, <a class="el" href="group__spdif.html#gae87580b959a0579a9af0c02345037704">XSPDIF_SOFT_RESET_REGISTER_VALUE</a>, and <a class="el" href="group__spdif.html#ga315b6c9b02574277d0f5e66f6bb55888">XSpdif_WriteReg</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
